$(INSTALL_DIR) $(1)/etc
$(CP) ./files/bind $(1)/etc/
$(INSTALL_DIR) $(1)/etc/init.d
- $(CP) ./files/named.init $(1)/etc/init.d/named
+ $(INSTALL_BIN) ./files/named.init $(1)/etc/init.d/named
find $(1)/etc/bind/ -name ".svn" | xargs rm -rf
endef
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib $(1)/etc/init.d $(1)/tmp
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/etc/init.d/bitchxrc $(1)/etc/init.d/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/init.d/bitchxrc $(1)/etc/init.d/
$(CP) $(PKG_INSTALL_DIR)/tmp/.bitchxrc $(1)/tmp
endef
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/oidentd $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc/init.d
- $(CP) ./files/oidentd.init $(1)/etc/init.d/oidentd
+ $(INSTALL_BIN) ./files/oidentd.init $(1)/etc/init.d/oidentd
endef
$(eval $(call BuildPackage,oidentd))
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/stunnel $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libstunnel.so $(1)/usr/sbin/
$(CP) ./files/stunnel.conf $(1)/etc/stunnel/stunnel.conf
- $(CP) ./files/stunnel.init $(1)/etc/init.d/S90stunnel
+ $(INSTALL_BIN) ./files/stunnel.init $(1)/etc/init.d/S90stunnel
endef
$(eval $(call BuildPackage,stunnel))
# FIXME: check if busybox really provides a wget applet
define Package/wget/postrm
-!/bin/sh
+#!/bin/sh
ln -sf ../../bin/busybox $${IPKG_INSTROOT}/usr/bin/wget
endef