$(eval $(call PKG_template,RARPD,rarpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
+$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
$(IPKG_RARPD):
install -d -m0755 $(IDIR_RARPD)/usr/sbin
- cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/rarpd $(IDIR_RARPD)/usr/sbin/
+ $(CP) $(PKG_INSTALL_DIR)/usr/sbin/rarpd $(IDIR_RARPD)/usr/sbin/
install -d -m0755 $(IDIR_RARPD)/etc/default
install -m644 ./files/rarpd.default $(IDIR_RARPD)/etc/default/rarpd
install -d -m0755 $(IDIR_RARPD)/etc/init.d