endef
define Package/monit/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
install -m0600 $(PKG_BUILD_DIR)/monitrc $(1)/etc/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/monit.init $(1)/etc/init.d/monit
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/monit-ssl $(1)/usr/sbin/monit
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/monit.init $(1)/etc/init.d/monit
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/monit-ssl $(1)/usr/sbin/monit
endef
define Package/monit-nossl/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
install -m0600 $(PKG_BUILD_DIR)/monitrc $(1)/etc/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/monit.init $(1)/etc/init.d/monit
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/monit-nossl $(1)/usr/sbin/monit
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/monit.init $(1)/etc/init.d/monit
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/monit-nossl $(1)/usr/sbin/monit
endef
$(eval $(call BuildPackage,monit))
endef
define Package/osirisd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/osirisd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/osirisd.init $(1)/etc/init.d/osirisd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/osirisd.init $(1)/etc/init.d/osirisd
endef
$(eval $(call BuildPackage,osirisd))
endef
define Package/syslog-ng/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/syslog-ng $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/syslog-ng.init $(1)/etc/init.d/syslog-ng
- install -d -m0755 $(1)/etc/syslog-ng
- install -m0644 ./files/syslog-ng.conf $(1)/etc/syslog-ng/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/syslog-ng.init $(1)/etc/init.d/syslog-ng
+ $(INSTALL_DIR) $(1)/etc/syslog-ng
+ $(INSTALL_DATA) ./files/syslog-ng.conf $(1)/etc/syslog-ng/
endef
$(eval $(call BuildPackage,syslog-ng))
endef
define Package/6tunnel/install
- install -m0755 -d $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
endef
endef
define Package/aiccu/install
- install -d -m0755 $(1)/usr/sbin
- install -m 755 $(PKG_BUILD_DIR)/unix-console/$(PKG_NAME) $(1)/usr/sbin/
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/unix-console/$(PKG_NAME) $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc
install -m 644 $(PKG_BUILD_DIR)/doc/aiccu.conf $(1)/etc/
- install -d -m0755 $(1)/etc/init.d
- install -m 755 ./files/aiccu.init $(1)/etc/init.d/aiccu
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/aiccu.init $(1)/etc/init.d/aiccu
endef
$(eval $(call BuildPackage,aiccu))
endef
define Package/dhcp6-client/install
- install -d $(1)/usr/sbin $(1)/etc/dhcp6
- install -m0755 $(PKG_BUILD_DIR)/client/cli $(1)/usr/sbin/dhcp6client
- install -m0755 $(PKG_BUILD_DIR)/client/solicit.conf $(1)/etc/dhcp6/
+ $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/dhcp6
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/client/cli $(1)/usr/sbin/dhcp6client
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/client/solicit.conf $(1)/etc/dhcp6/
endef
define Package/dhcp6-server/install
- install -d -m0755 $(1)/usr/sbin $(1)/etc/dhcpd6
- install -m0755 $(PKG_BUILD_DIR)/server/serv $(1)/usr/sbin/dhcpd6
- install -m0755 $(PKG_BUILD_DIR)/server/*.conf $(1)/etc/dhcpd6/
+ $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/dhcpd6
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/server/serv $(1)/usr/sbin/dhcpd6
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/server/*.conf $(1)/etc/dhcpd6/
endef
$(eval $(call BuildPackage,dhcp6-client))
endef
define Package/mrd6/install
- install -d -m0755 $(1)/etc/init.d
- install -m0644 files/mrd6.conf $(1)/etc
- install -m0755 files/mrd6.init $(1)/etc/init.d/mrd6
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_DATA) files/mrd6.conf $(1)/etc
+ $(INSTALL_BIN) files/mrd6.init $(1)/etc/init.d/mrd6
endef
$(eval $(call BuildPackage,mrd6))
endef
define Package/ndisc6/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/ndisc6 $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/ndisc6 $(1)/usr/bin/
endef
define Package/rdisc6/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/rdisc6 $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/rdisc6 $(1)/usr/bin/
endef
define Package/tcptraceroute6/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/tcptraceroute6 $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/tcptraceroute6 $(1)/usr/bin/
endef
$(eval $(call BuildPackage,ndisc6))
endef
define Package/jamvm/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/src/jamvm $(1)/usr/bin/
- install -d -m0755 $(1)/usr/share/jamvm
- install -m0644 $(PKG_BUILD_DIR)/lib/classes.zip $(1)/usr/share/jamvm/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/jamvm $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/share/jamvm
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/lib/classes.zip $(1)/usr/share/jamvm/
endef
$(eval $(call BuildPackage,jamvm))
endef
define Package/liblua/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.so.* $(1)/usr/lib/
endef
define Package/lua/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/lua $(1)/usr/bin/
endef
define Package/luac/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/luac $(1)/usr/bin/
endef
define Package/lua-examples/install
- install -d -m0755 $(1)/usr/share/lua/examples
- install -m0644 $(PKG_BUILD_DIR)/test/*.lua \
+ $(INSTALL_DIR) $(1)/usr/share/lua/examples
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/test/*.lua \
$(1)/usr/share/lua/examples/
endef
endef
define Package/microperl/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/microperl $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/microperl $(1)/usr/bin/
endef
$(eval $(call BuildPackage,microperl))
endef
define Package/php4/install
- install -d -m0755 $(1)/etc
- install -m0644 ./files/php.ini $(1)/etc/
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/php.ini $(1)/etc/
endef
define Package/php4-cli/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/php-cli $(1)/usr/bin/php
endef
define Package/php4-cgi/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/php-cgi $(1)/usr/bin/php
endef
define Package/php4-fastcgi/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/php-fastcgi $(1)/usr/sbin/php
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/php.init $(1)/etc/init.d/php
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/php.init $(1)/etc/init.d/php
endef
define BuildPlugin
define Package/$(1)/install
- [ -z "$(2)" ] || install -d -m0755 $$(1)/usr/lib/php
+ [ -z "$(2)" ] || $(INSTALL_DIR) $$(1)/usr/lib/php
for m in $(2); do \
- install -m0755 $(PKG_BUILD_DIR)/modules/$$$$$$$${m}.so $$(1)/usr/lib/php/ ; \
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/modules/$$$$$$$${m}.so $$(1)/usr/lib/php/ ; \
done
endef
endef
define Package/php5/install
- install -d -m0755 $(1)/etc
- install -m0644 ./files/php.ini $(1)/etc/
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/php.ini $(1)/etc/
endef
define Package/php5-cli/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/php-cli $(1)/usr/bin/php
endef
define Package/php5-cgi/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/php-cgi $(1)/usr/bin/php
endef
define Package/php5-fastcgi/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/php-fastcgi $(1)/usr/sbin/php
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/php.init $(1)/etc/init.d/php
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/php.init $(1)/etc/init.d/php
endef
define BuildPlugin
define Package/$(1)/install
- [ -z "$(2)" ] || install -d -m0755 $$(1)/usr/lib/php
+ [ -z "$(2)" ] || $(INSTALL_DIR) $$(1)/usr/lib/php
for m in $(2); do \
- install -m0755 $(PKG_BUILD_DIR)/modules/$$$$$$$${m}.so $$(1)/usr/lib/php/ ; \
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/modules/$$$$$$$${m}.so $$(1)/usr/lib/php/ ; \
done
endef
endef
define Package/python/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/python2.4 $(1)/usr/bin/
ln -sf python2.4 $(1)/usr/bin/python
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/python2.4 $(1)/usr/lib/
rm -rf \
$(1)/usr/lib/python2.4/bsddb/test \
endef
define Package/libsablevm-classpath/install
- install -d -m0755 $(1)/usr/lib/sablevm-classpath
+ $(INSTALL_DIR) $(1)/usr/lib/sablevm-classpath
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sablevm-classpath/libjava*.so $(1)/usr/lib/sablevm-classpath/
- install -d -m0755 $(1)/usr/lib/security
+ $(INSTALL_DIR) $(1)/usr/lib/security
$(CP) $(PKG_INSTALL_DIR)/usr/lib/security/classpath.security $(1)/usr/lib/security/
endef
define Package/sablevm-classpath-full/install
- install -d -m0755 $(1)/usr/share/sablevm-classpath
+ $(INSTALL_DIR) $(1)/usr/share/sablevm-classpath
$(CP) $(PKG_INSTALL_DIR)/usr/share/sablevm-classpath/{libclasspath,resources}.jar \
$(1)/usr/share/sablevm-classpath/
endef
define Package/sablevm-classpath-mini/install
- install -d -m0755 $(1)/usr/share/sablevm-classpath
- install -m0755 $(PKG_BUILD_DIR)/lib/mini.jar \
+ $(INSTALL_DIR) $(1)/usr/share/sablevm-classpath
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/mini.jar \
$(1)/usr/share/sablevm-classpath/libclasspath.jar
endef
endef
define Package/sablevm/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/{java-,}sablevm $(1)/usr/bin/
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsablevm-*.so $(1)/usr/lib/
endef
endef
define Package/alsa-lib/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libasound.so.* $(1)/usr/lib/
endef
endef
define Package/libavahi/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-{common,core}.so.* $(1)/usr/lib/
endef
define Package/avahi-autoipd/install
- install -d -m0755 $(1)/etc/avahi
+ $(INSTALL_DIR) $(1)/etc/avahi
$(CP) $(PKG_INSTALL_DIR)/etc/avahi/avahi-autoipd.action $(1)/etc/avahi/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/avahi-autoipd $(1)/usr/sbin/
endef
define Package/avahi-daemon/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/avahi-daemon $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/avahi
- install -m0644 ./files/avahi-daemon.conf $(1)/etc/avahi/
- install -d -m0755 $(1)/etc/avahi/services
- install -m0644 ./files/service-http $(1)/etc/avahi/services/http.service
- install -m0644 ./files/service-ssh $(1)/etc/avahi/services/ssh.service
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/avahi-daemon.init $(1)/etc/init.d/avahi-daemon
+ $(INSTALL_DIR) $(1)/etc/avahi
+ $(INSTALL_DATA) ./files/avahi-daemon.conf $(1)/etc/avahi/
+ $(INSTALL_DIR) $(1)/etc/avahi/services
+ $(INSTALL_DATA) ./files/service-http $(1)/etc/avahi/services/http.service
+ $(INSTALL_DATA) ./files/service-ssh $(1)/etc/avahi/services/ssh.service
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/avahi-daemon.init $(1)/etc/init.d/avahi-daemon
endef
define Package/avahi-dnsconfd/install
- install -d -m0755 $(1)/etc/avahi
+ $(INSTALL_DIR) $(1)/etc/avahi
$(CP) $(PKG_INSTALL_DIR)/etc/avahi/avahi-dnsconfd.action $(1)/etc/avahi/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/avahi-dnsconfd $(1)/usr/sbin/
endef
endef
define Package/libaxtls/install
- install -d -m0755 $(1)/usr/lib
- install -m0755 $(PKG_BUILD_DIR)/libaxtls.so $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/libaxtls.so $(1)/usr/lib/
endef
define Package/awhttpd/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/awhttpd $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/awhttpd $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,libaxtls))
endef
define Package/bluez-libs/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libbluetooth.so.* $(1)/usr/lib/
endef
endef
define Package/cgilib/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libcgi.so.* $(1)/usr/lib/
endef
endef
define Package/curl/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/curl $(1)/usr/bin/
endef
define Package/libcurl/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libcurl.so.* $(1)/usr/lib/
endef
endef
define Package/libsasl2/install
- install -d -m0755 $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsasl2.so.* $(1)/usr/lib/
- install -d -m0755 $(1)/usr/lib/sasl2
+ $(INSTALL_DIR) $(1)/usr/lib/sasl2
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sasl2/lib*.so.* $(1)/usr/lib/sasl2/
endef
endef
define Package/libdb/install
- install -m0755 -d $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libdb-*.so $(1)/usr/lib/
endef
endef
define Package/libexpat/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.so.* $(1)/usr/lib/
endef
endef
define Package/libflac/install
- install -m0755 -d $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/obj/release/lib/libFLAC.so $(1)/usr/lib/
endef
endef
define Package/libfreetype/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreetype.so.* $(1)/usr/lib/
endef
endef
define Package/libgd/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgd.so.* $(1)/usr/lib/
endef
endef
define Package/glib1/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libg{lib,module,thread}-1.2.so.* $(1)/usr/lib/
endef
endef
define Package/gnutls-utils/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/certtool $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/gnutls-{cli,serv} $(1)/usr/bin/
endef
define Package/libgnutls/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnutls{,-extra}.so.* $(1)/usr/lib/
endef
define Package/libgnutls-openssl/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnutls-openssl.so.* $(1)/usr/lib/
endef
endef
define Package/libgsm/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgsm.so.* $(1)/usr/lib/
endef
define Package/gsm-utils/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
endef
endef
define Package/libhowl/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{howl,mDNSResponder}.so.* $(1)/usr/lib/
endef
define Package/howl-autoipd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/autoipd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0644 ./files/autoipd.init $(1)/etc/init.d/autoipd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_DATA) ./files/autoipd.init $(1)/etc/init.d/autoipd
endef
define Package/howl-mdnsresponder/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/mDNSResponder $(1)/usr/sbin/
- install -d -m0755 $(1)/etc
- install -m0644 ./files/mDNSResponder.conf $(1)/etc/mDNSResponder.conf
- install -d -m0755 $(1)/etc/init.d
- install -m0644 ./files/mDNSResponder.init $(1)/etc/init.d/mDNSResponder
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/mDNSResponder.conf $(1)/etc/mDNSResponder.conf
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_DATA) ./files/mDNSResponder.init $(1)/etc/init.d/mDNSResponder
endef
define Package/howl-nifd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/nifd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0644 ./files/nifd.init $(1)/etc/init.d/nifd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_DATA) ./files/nifd.init $(1)/etc/init.d/nifd
endef
define Package/howl-utils/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/mDNS{Browse,Publish,Query,Resolve} $(1)/usr/bin/
endef
endef
define Package/id3lib/install
- install -d -m0755 $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3-*.so.* $(1)/usr/lib/
endef
endef
define Package/libamsel/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib
endef
endef
define Package/libao/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libao.so.* $(1)/usr/lib/
endef
endef
define Package/libart/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libart_lgpl_2.so.* $(1)/usr/lib/
endef
endef
define Package/libaudiofile/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libaudiofile.so.* $(1)/usr/lib/
endef
endef
define Package/libcli/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libcli.so.* $(1)/usr/lib/
endef
endef
define Package/libdaemon/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libdaemon.so.* $(1)/usr/lib/
endef
endef
define Package/libdnet/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libdnet.so.* $(1)/usr/lib/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dnet $(1)/usr/sbin/
endef
endef
define Package/libelf/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libelf.so.* $(1)/usr/lib/
endef
endef
define Package/libevent/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libevent-$(PKG_VERSION).so.* $(1)/usr/lib/
endef
endef
define Package/libexif/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libexif*.so.* $(1)/usr/lib/
endef
endef
define Package/libffi-sable/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libffi.so.* $(1)/usr/lib/
endef
endef
define Package/libgcrypt/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgcrypt.so.* $(1)/usr/lib/
endef
endef
define Package/libgdbm/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgdbm.so.* $(1)/usr/lib/
endef
endef
define Package/libgpg-error/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgpg-error.so.* $(1)/usr/lib/
endef
endef
define Package/libgphoto2/install
- install -m0755 -d $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgphoto2{,_port}.so.* $(1)/usr/lib/
endef
define Package/libgphoto2-drivers/install
- install -d -m0755 $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgphoto2{,_port} $(1)/usr/lib/
rm -rf $(1)/usr/lib/libgphoto2{,_port}/*/*.{,l}a
endef
endef
define Package/libiconv/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.so.* $(1)/usr/lib/
endef
endef
define Package/libid3tag/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3tag.so.* $(1)/usr/lib/
endef
endef
define Package/libjpeg/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libjpeg.so.* $(1)/usr/lib/
endef
define Package/jpeg-tools/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/*jpeg* $(1)/usr/bin/
endef
endef
define Package/libmad/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libmad.so.* $(1)/usr/lib/
endef
endef
define Package/libmcrypt/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libmcrypt.so.* $(1)/usr/lib/
endef
endef
define Package/libnet0/install
- install -m0755 -d $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnet.so.* $(1)/usr/lib/
endef
endef
define Package/libnet1/install
- install -m0755 -d $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnet.so.* $(1)/usr/lib/
endef
endef
define Package/libnids/install
- install -m0755 -d $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnids.so.* $(1)/usr/lib/
endef
endef
define Package/libol/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libol.so.* $(1)/usr/lib/
endef
endef
define Package/libosip2/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libosip{,parser}2.so.* $(1)/usr/lib/
endef
endef
define Package/libpng/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpng{,12}.so.* $(1)/usr/lib/
endef
endef
define Package/librsync/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/librsync.so.* $(1)/usr/lib/
endef
endef
define Package/libtasn1/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtasn1.so.* $(1)/usr/lib/
endef
endef
define Package/libltdl/install
- install -m0755 -d $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libltdl.so.* $(1)/usr/lib/
endef
endef
define Package/libupnp/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/upnp/bin/lib{ixml,threadutil,upnp}.so $(1)/usr/lib/
endef
endef
define Package/libusb/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libusb*.so.* $(1)/usr/lib/
endef
endef
define Package/libvorbisidec/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libvorbisidec.so.* $(1)/usr/lib/
endef
endef
define Package/libxml2/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libxml2.so.* $(1)/usr/lib/
endef
endef
define Package/libxslt/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libxslt.so.* $(1)/usr/lib/
endef
endef
define Package/liblzo/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/liblzo2.so.* $(1)/usr/lib
endef
endef
define Package/libmatrixssl/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/src/libmatrixssl.so.* $(1)/usr/lib/
endef
endef
define Package/libmysqlclient/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient.so.* $(1)/usr/lib/
endef
endef
define Package/libncurses/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu}*.so.* $(1)/usr/lib/
- install -d -m0755 $(1)/usr/share/terminfo
+ $(INSTALL_DIR) $(1)/usr/share/terminfo
(cd $(PKG_INSTALL_DIR)/usr/share/terminfo; \
for dir in ??; do \
[ -d "$$$$dir" ] || continue; \
done \
)
for file in a/ansi d/dumb l/linux r/rxvt s/screen v/vt100 v/vt102 x/xterm x/xterm-color; do \
- install -d -m0755 $(1)/usr/share/terminfo/`dirname $$$$file`; \
+ $(INSTALL_DIR) $(1)/usr/share/terminfo/`dirname $$$$file`; \
$(CP) $(PKG_INSTALL_DIR)/usr/share/terminfo/$$$$file \
$(1)/usr/share/terminfo/$$$$file; \
done
endef
define Package/libnetsnmp/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnetsnmp{,agent,helpers,mibs}.so.* $(1)/usr/lib/
endef
define Package/snmpd/install
- install -d -m0755 $(1)/etc/snmp
- install -m0644 ./files/snmpd.conf $(1)/etc/snmp/snmpd.conf
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/snmpd.default $(1)/etc/default/snmpd
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/snmpd.init $(1)/etc/init.d/snmpd
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/snmpd-shared $(1)/usr/sbin/snmpd
+ $(INSTALL_DIR) $(1)/etc/snmp
+ $(INSTALL_DATA) ./files/snmpd.conf $(1)/etc/snmp/snmpd.conf
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/snmpd.default $(1)/etc/default/snmpd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/snmpd.init $(1)/etc/init.d/snmpd
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/snmpd-shared $(1)/usr/sbin/snmpd
endef
define Package/snmpd-static/install
- install -d -m0755 $(1)/etc/snmp
- install -m0644 ./files/snmpd.conf $(1)/etc/snmp/snmpd.conf
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/snmpd.default $(1)/etc/default/snmpd
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/snmpd.init $(1)/etc/init.d/snmpd
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/snmpd-static $(1)/usr/sbin/snmpd
+ $(INSTALL_DIR) $(1)/etc/snmp
+ $(INSTALL_DATA) ./files/snmpd.conf $(1)/etc/snmp/snmpd.conf
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/snmpd.default $(1)/etc/default/snmpd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/snmpd.init $(1)/etc/init.d/snmpd
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/snmpd-static $(1)/usr/sbin/snmpd
endef
define Package/snmp-utils/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/snmp{get,set,status,test,trap,walk} $(1)/usr/bin/
endef
endef
define Package/libopencdk/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libopencdk.so.* $(1)/usr/lib/
endef
endef
define Package/libopenldap/install
- install -d -m0755 $(1)/etc/openldap
+ $(INSTALL_DIR) $(1)/etc/openldap
$(CP) $(PKG_INSTALL_DIR)/etc/openldap/ldap.conf $(1)/etc/openldap/
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{lber,ldap}*.so.* $(1)/usr/lib/
- install -d -m0755 $(1)/usr/share/openldap
+ $(INSTALL_DIR) $(1)/usr/share/openldap
$(CP) $(PKG_INSTALL_DIR)/usr/share/openldap/* $(1)/usr/share/openldap/
endef
define Package/openldap-utils/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ldap* $(1)/usr/bin/
endef
endef
define Package/libpcre/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/.libs/libpcre{,posix}.so.* $(1)/usr/lib/
endef
endef
define Package/libpopt/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.so.* $(1)/usr/lib/
endef
endef
define Package/libpq/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpq.so.* $(1)/usr/lib/
endef
define Package/pgsql-cli/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/psql $(1)/usr/bin/
endef
endef
define Package/libradiusclient-ng/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/radiusclient-ng $(1)/etc/
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libradiusclient-ng.so.* $(1)/usr/lib/
endef
define Package/radiusclient-ng/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/rad{acct,iusclient,login,status} $(1)/usr/sbin/
endef
endef
define Package/libreadline/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.so.* $(1)/usr/lib/
endef
endef
define Package/rrdtool1/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/rrd{tool,update} $(1)/usr/bin/
endef
define Package/rrdcgi1/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/rrdcgi $(1)/usr/bin/
endef
define Package/librrd1/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/librrd.so.* $(1)/usr/lib/
endef
endef
define Package/serdisplib/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/lib/libserdisp.so.* $(1)/usr/lib
endef
endef
define Package/libspeex/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libspeex.so.* $(1)/usr/lib/
endef
endef
define Package/libsqlite2/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsqlite.so.* $(1)/usr/lib/
endef
define Package/sqlite2-cli/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/sqlite $(1)/usr/bin/
endef
endef
define Package/libsqlite3/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsqlite3.so.* $(1)/usr/lib/
endef
define Package/sqlite3-cli/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/sqlite3 $(1)/usr/bin/
endef
endef
define Package/uclibcxx/install
- install -m0755 -d $(1)/lib
+ $(INSTALL_DIR) $(1)/lib
$(CP) $(PKG_BUILD_DIR)/src/libuClibc++*.so.* $(1)/lib/
$(CP) $(PKG_BUILD_DIR)/src/libuClibc++-*.so $(1)/lib/
endef
endef
define Package/ustl/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libustl.so.* $(1)/usr/lib/
endef
endef
define Package/gphoto2/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/gphoto2 $(1)/usr/bin/
endef
endef
define Package/motion/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/motion-dist.conf $(1)/etc/motion.conf
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/motion $(1)/usr/bin/
endef
endef
define Package/palantir/install
- install -d -m0755 $(1)/etc
- install -m0644 $(PKG_BUILD_DIR)/server/palantir-mips.conf.sample $(1)/etc/palantir.conf
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/server/palantir $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/server/palantir-mips.conf.sample $(1)/etc/palantir.conf
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/server/palantir $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,palantir))
endef
define Package/peercast/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/peercast $(1)/usr/sbin/
- install -d -m0755 $(1)/usr/share/peercast/html
+ $(INSTALL_DIR) $(1)/usr/share/peercast/html
$(CP) $(PKG_INSTALL_DIR)/usr/share/peercast/html/en $(1)/usr/share/peercast/html/
- install -d -m0755 $(1)/etc
- install -m0644 ./files/peercast.ini $(1)/etc/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/peercast.init $(1)/etc/init.d/peercast
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/peercast.ini $(1)/etc/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/peercast.init $(1)/etc/init.d/peercast
endef
$(eval $(call BuildPackage,peercast))
endef
define Package/aircrack-ng/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/aircrack-ng $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/airdecap-ng $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/packetforge-ng $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ivstools $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/kstats $(1)/usr/bin/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/aireplay-ng $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/airodump-ng $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/airmon-ng $(1)/usr/sbin/
endef
define Package/amwall/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin
- install -d -m0755 $(1)/etc/amsel
+ $(INSTALL_DIR) $(1)/etc/amsel
$(CP) $(PKG_INSTALL_DIR)/etc/amsel* $(1)/etc
endef
endef
define Package/aodv-uu/install
- install -m0755 -d $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/aodvd $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/aodvd $(1)/usr/sbin
endef
define Package/kmod-aodv-uu/install
mkdir -p $(1)/etc/modules.d
- install -m0644 ./files/aodv-uu.modules $(1)/etc/modules.d/80-aodv-uu
- install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
+ $(INSTALL_DATA) ./files/aodv-uu.modules $(1)/etc/modules.d/80-aodv-uu
+ $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
$(CP) $(PKG_BUILD_DIR)/lnx/kaodv.$(LINUX_KMOD_SUFFIX) $(1)/lib/modules/$(LINUX_VERSION)/
endef
endef
define Package/arpd/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/arpd $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/arpd $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,arpd))
endef
define Package/arpwatch/install
- install -d -m0755 $(1)/etc/arpwatch
+ $(INSTALL_DIR) $(1)/etc/arpwatch
$(CP) $(PKG_BUILD_DIR)/arp.dat $(1)/etc/arpwatch/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/arp{watch,snmp} $(1)/usr/sbin/
endef
rm -f skinny.conf ; \
rm -f dundi.conf ; \
)
- install -m0644 ./files/modules.conf $(1)/etc/asterisk/
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/asterisk.default $(1)/etc/default/asterisk
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/asterisk.init $(1)/etc/init.d/asterisk
+ $(INSTALL_DATA) ./files/modules.conf $(1)/etc/asterisk/
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
endef
define Package/asterisk-mini/install
- install -d -m0755 $(1)/etc/asterisk
+ $(INSTALL_DIR) $(1)/etc/asterisk
for f in asterisk enum extconfig extensions features iax iaxprov logger manager modules musiconhold rtp sip; do \
$(CP) $(PKG_INSTALL_DIR)/etc/asterisk/$$$$f.conf $(1)/etc/asterisk/ ; \
done
- install -m0644 ./files/modules.conf $(1)/etc/asterisk/
- install -d -m0755 $(1)/usr/lib/asterisk
+ $(INSTALL_DATA) ./files/modules.conf $(1)/etc/asterisk/
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/firmware $(1)/usr/lib/asterisk/
- install -d -m0755 $(1)/usr/lib/asterisk/keys
- install -d -m0755 $(1)/usr/lib/asterisk/modules
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/keys
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
for f in chan_iax2 chan_local chan_sip codec_gsm codec_ulaw format_gsm format_pcm format_wav \
format_wav_gsm pbx_config res_features res_musiconhold; do \
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$$$$f.so $(1)/usr/lib/asterisk/modules/ ; \
done
- install -d -m0755 $(1)/usr/lib/asterisk/mohmp3
- install -d -m0755 $(1)/usr/lib/asterisk/sounds
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/mohmp3
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/asterisk $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/safe_asterisk $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/asterisk.default $(1)/etc/default/asterisk
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/asterisk.init $(1)/etc/init.d/asterisk
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
endef
define Package/asterisk-mysql/install
- install -d -m0755 $(1)/etc/asterisk
+ $(INSTALL_DIR) $(1)/etc/asterisk
install -m0600 $(PKG_BUILD_DIR)/configs/cdr_mysql.conf.sample $(1)/etc/asterisk/cdr_mysql.conf
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/apps/app_sql_mysql.so $(1)/usr/lib/asterisk/modules/
- install -m0755 $(PKG_BUILD_DIR)/cdr/cdr_mysql.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/apps/app_sql_mysql.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/cdr/cdr_mysql.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk-pgsql/install
- install -d -m0755 $(1)/etc/asterisk
+ $(INSTALL_DIR) $(1)/etc/asterisk
install -m0600 $(PKG_BUILD_DIR)/configs/cdr_pgsql.conf.sample $(1)/etc/asterisk/cdr_pgsql.conf
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/apps/app_sql_postgres.so $(1)/usr/lib/asterisk/modules/
- install -m0755 $(PKG_BUILD_DIR)/cdr/cdr_pgsql.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/apps/app_sql_postgres.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/cdr/cdr_pgsql.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk-sqlite/install
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/cdr/cdr_sqlite.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/cdr/cdr_sqlite.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk-sounds/install
- install -d -m0755 $(1)/usr/lib/asterisk/sounds
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds
$(CP) $(PKG_BUILD_DIR)/sounds/* $(1)/usr/lib/asterisk/sounds/
rm -f $(1)/usr/lib/asterisk/sounds/*.mp3
rm -f $(1)/usr/lib/asterisk/sounds/vm-*
endef
define Package/asterisk-voicemail/install
- install -d -m0755 $(1)/etc/asterisk
- install -m0644 $(PKG_BUILD_DIR)/configs/voicemail.conf.sample $(1)/etc/asterisk/voicemail.conf
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/apps/*voicemail.so $(1)/usr/lib/asterisk/modules/
- install -m0755 $(PKG_BUILD_DIR)/res/res_adsi.so $(1)/usr/lib/asterisk/modules/
- install -d -m0755 $(1)/usr/lib/asterisk/sounds
+ $(INSTALL_DIR) $(1)/etc/asterisk
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/configs/voicemail.conf.sample $(1)/etc/asterisk/voicemail.conf
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/apps/*voicemail.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/res/res_adsi.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds
$(CP) $(PKG_BUILD_DIR)/sounds/vm-*.gsm $(1)/usr/lib/asterisk/sounds/
endef
define Package/asterisk-chan-bluetooth/install
- install -d -m0755 $(1)/etc/asterisk
- install -m0644 $(PKG_BUILD_DIR)/configs/bluetooth.conf $(1)/etc/asterisk/bluetooth.conf
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/channels/chan_bluetooth.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/etc/asterisk
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/configs/bluetooth.conf $(1)/etc/asterisk/bluetooth.conf
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/channels/chan_bluetooth.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk-chan-h323/install
- install -d -m0755 $(1)/etc/asterisk
- install -m0644 $(PKG_BUILD_DIR)/channels/h323/h323.conf.sample $(1)/etc/asterisk/h323.conf
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/channels/chan_h323.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/etc/asterisk
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/channels/h323/h323.conf.sample $(1)/etc/asterisk/h323.conf
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/channels/chan_h323.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk-chan-mgcp/install
- install -d -m0755 $(1)/etc/asterisk
- install -m0644 $(PKG_BUILD_DIR)/configs/mgcp.conf.sample $(1)/etc/asterisk/mgcp.conf
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/channels/chan_mgcp.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/etc/asterisk
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/configs/mgcp.conf.sample $(1)/etc/asterisk/mgcp.conf
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/channels/chan_mgcp.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk-chan-skinny/install
- install -d -m0755 $(1)/etc/asterisk
- install -m0644 $(PKG_BUILD_DIR)/configs/skinny.conf.sample $(1)/etc/asterisk/skinny.conf
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/channels/chan_skinny.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/etc/asterisk
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/configs/skinny.conf.sample $(1)/etc/asterisk/skinny.conf
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/channels/chan_skinny.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk-code-ilbc/install
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/codecs/codec_ilbc.so $(1)/usr/lib/asterisk/modules/
- install -m0755 $(PKG_BUILD_DIR)/formats/format_ilbc.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/codecs/codec_ilbc.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/formats/format_ilbc.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk-codec-lpc10/install
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/codecs/codec_lpc10.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/codecs/codec_lpc10.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk-codec-speex/install
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/codecs/codec_speex.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/codecs/codec_speex.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk-pbx-dundi/install
- install -d -m0755 $(1)/etc/asterisk
- install -m0644 $(PKG_BUILD_DIR)/configs/dundi.conf.sample $(1)/etc/asterisk/dundi.conf
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/pbx/pbx_dundi.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/etc/asterisk
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/configs/dundi.conf.sample $(1)/etc/asterisk/dundi.conf
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/pbx/pbx_dundi.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk-res-agi/install
- install -d -m0755 $(1)/usr/lib/asterisk/agi-bin
- install -d -m0755 $(1)/usr/lib/asterisk/modules
- install -m0755 $(PKG_BUILD_DIR)/res/res_agi.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/agi-bin
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/res/res_agi.so $(1)/usr/lib/asterisk/modules/
endef
$(eval $(call BuildPackage,asterisk))
endef
define Package/atftp/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/atftp $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/atftp $(1)/usr/sbin
endef
define Package/atftpd/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/atftpd $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/atftpd $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,atftp))
endef
define Package/autossh/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/autossh $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/autossh $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,autossh))
endef
define Package/bind-server/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/named $(1)/usr/sbin/
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) ./files/bind $(1)/etc/
- install -d -m0755 $(1)/etc/init.d
+ $(INSTALL_DIR) $(1)/etc/init.d
$(CP) ./files/named.init $(1)/etc/init.d/named
find $(1)/etc/bind/ -name ".svn" | xargs rm -rf
endef
define Package/bind-client/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/nsupdate $(1)/usr/bin/
endef
define Package/bind-tools/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/dig $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/host $(1)/usr/bin/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dnssec-keygen $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dnssec-signzone $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/named-checkconf $(1)/usr/sbin/
endef
define Package/bind-rndc/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/rndc $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/rndc-confgen $(1)/usr/sbin/
endef
define Package/bind-check/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/named-checkconf $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/named-checkzone $(1)/usr/sbin/
endef
define Package/bind-dnssec/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dnssec-keygen $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dnssec-signzone $(1)/usr/sbin/
endef
define Package/bind-host/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/host $(1)/usr/bin/
endef
define Package/bind-dig/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/dig $(1)/usr/bin/
endef
endef
define Package/bing/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/bing $(1)/usr/sbin/
endef
mkdir -p $(PKG_INSTALL_DIR)/usr/lib/bx/translation
mkdir -p $(PKG_INSTALL_DIR)/usr/lib/bx/plugins
mkdir -p $(PKG_INSTALL_DIR)/usr/lib/bx/help
- install -c $(PKG_BUILD_DIR)/source/BitchX $(PKG_INSTALL_DIR)/usr/bin/BitchX-1.1-final
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/BitchX $(PKG_INSTALL_DIR)/usr/bin/BitchX-1.1-final
rm -f $(PKG_INSTALL_DIR)/usr/bin/BitchX
ln -s /usr/bin/BitchX-1.1-final $(PKG_INSTALL_DIR)/usr/bin/BitchX
- install -c $(PKG_BUILD_DIR)/BitchX.help $(PKG_INSTALL_DIR)/usr/lib/bx/BitchX.help
- install -c $(PKG_BUILD_DIR)/BitchX.ircnames $(PKG_INSTALL_DIR)/usr/lib/bx/BitchX.ircnames
- install -c $(PKG_BUILD_DIR)/BitchX.quit $(PKG_INSTALL_DIR)/usr/lib/bx/BitchX.quit
- install -c $(PKG_BUILD_DIR)/BitchX.reasons $(PKG_INSTALL_DIR)/usr/lib/bx/BitchX.kick
- install -c $(PKG_BUILD_DIR)/source/wserv $(PKG_INSTALL_DIR)/usr/lib/bx/wserv
- install -c $(PKG_BUILD_DIR)/source/scr-bx $(PKG_INSTALL_DIR)/usr/bin/scr-bx
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/BitchX.help $(PKG_INSTALL_DIR)/usr/lib/bx/BitchX.help
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/BitchX.ircnames $(PKG_INSTALL_DIR)/usr/lib/bx/BitchX.ircnames
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/BitchX.quit $(PKG_INSTALL_DIR)/usr/lib/bx/BitchX.quit
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/BitchX.reasons $(PKG_INSTALL_DIR)/usr/lib/bx/BitchX.kick
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/source/wserv $(PKG_INSTALL_DIR)/usr/lib/bx/wserv
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/scr-bx $(PKG_INSTALL_DIR)/usr/bin/scr-bx
$(CP) $(PKG_BUILD_DIR)/script $(PKG_INSTALL_DIR)/usr/lib/bx/
$(CP) $(PKG_BUILD_DIR)/translation $(PKG_INSTALL_DIR)/usr/lib/bx/
bzip2 $(PKG_INSTALL_DIR)/usr/lib/bx/translation/*
endef
define Package/bitchx/install
- install -m0755 -d $(1)/usr/bin $(1)/usr/lib $(1)/etc/init.d $(1)/tmp
+ $(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/
DESTDIR="$(1)" install-etc install-bin
$(MAKE) -C $(PKG_BUILD_DIR)/doc/user-guide \
DESTDIR="$(1)" install
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/bitlbee.init $(1)/etc/init.d/bitlbee
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/bitlbee.init $(1)/etc/init.d/bitlbee
endef
$(eval $(call BuildPackage,bitlbee))
endef
define Package/bmon/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/src/bmon $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bmon $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,bmon))
define Package/bwm/install
mkdir -p $(1)/usr/bin
- install -m 755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
endef
$(eval $(call BuildPackage,bwm))
endef
define Package/cbtt/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/bnbt $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/bnbt $(1)/usr/bin/
endef
define Package/cbtt-mysql/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/bnbtmysql $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/bnbtmysql $(1)/usr/bin/
endef
$(eval $(call BuildPackage,cbtt))
endef
define Package/chillispot/install
- install -m0755 -d $(1)/etc/init.d
- install -m0755 ./files/$(PKG_NAME).init $(1)/etc/init.d/chilli
- install -m0755 -d $(1)/etc
- install -m0644 $(PKG_BUILD_DIR)/doc/chilli.conf $(1)/etc/
- install -m0755 -d $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/chilli
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/doc/chilli.conf $(1)/etc/
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/chilli $(1)/usr/sbin/
endef
endef
define Package/click/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/userlevel/roofnetclick $(1)/usr/bin/click
$(CP) $(PKG_BUILD_DIR)/tools/click-align/click-align $(1)/usr/bin/click-align
endef
define Package/roofnet/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/conf/wifi/gen_config_roofnet.sh $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/conf/wifi/srcr.click $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/conf/wifi/read_handler $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/conf/wifi/write_handler $(1)/usr/bin
mkdir -p $(1)/etc/init.d
- install -m 755 ./files/roofnet.init $(1)/etc/init.d/roofnet
+ $(INSTALL_BIN) ./files/roofnet.init $(1)/etc/init.d/roofnet
endef
$(eval $(call BuildPackage,click))
endef
define Package/ctorrent/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ctorrent $(1)/usr/bin/
endef
define Package/cups/install
rm -rf $(1)/etc/cups
- install -d -m0755 $(1)/etc/cups
+ $(INSTALL_DIR) $(1)/etc/cups
$(CP) $(PKG_INSTALL_DIR)/etc/cups/* $(1)/etc/cups/
rm -rf $(1)/etc/cups/certs
ln -sf /tmp $(1)/etc/cups/certs
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
rm -f $(1)/usr/bin/cups-config
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libcups.so.* $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/cups $(1)/usr/lib/
- install -d -m0755 $(1)/usr/share/cups/templates
+ $(INSTALL_DIR) $(1)/usr/share/cups/templates
$(CP) $(PKG_INSTALL_DIR)/usr/share/cups/templates/*.tmpl $(1)/usr/share/cups/templates/
- install -d -m0755 $(1)/usr/share/doc/cups
+ $(INSTALL_DIR) $(1)/usr/share/doc/cups
$(CP) $(PKG_INSTALL_DIR)/usr/share/doc/cups/index.html $(1)/usr/share/doc/cups/
$(CP) $(PKG_INSTALL_DIR)/usr/share/doc/cups/images $(1)/usr/share/doc/cups/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
# overwrite default config with our own
$(CP) ./files/etc/cups/* $(1)/etc/cups/
# install initscript with priority 60
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/cupsd.init $(1)/etc/init.d/cupsd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/cupsd.init $(1)/etc/init.d/cupsd
endef
define Build/InstallDev
define Build/Compile
$(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter
- install -d -m0755 $(PKG_INSTALL_DIR)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/cutter $(PKG_INSTALL_DIR)/usr/sbin/
+ $(INSTALL_DIR) $(PKG_INSTALL_DIR)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/cutter $(PKG_INSTALL_DIR)/usr/sbin/
endef
define Package/cutter/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/cutter $(1)/usr/sbin/
endef
endef
define Package/dhcp-forwarder/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dhcp-fwd $(1)/usr/bin/
- install -d -m0755 $(1)/etc
- install -m0644 $(PKG_BUILD_DIR)/contrib/dhcp-fwd.conf $(1)/etc/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/dhcp-fwd.init $(1)/etc/init.d/dhcp-fwd
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/contrib/dhcp-fwd.conf $(1)/etc/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/dhcp-fwd.init $(1)/etc/init.d/dhcp-fwd
endef
$(eval $(call BuildPackage,dhcp-forwarder))
define Package/dhcp-relay/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dhcrelay $(1)/usr/sbin/
endef
define Package/dhcp-server/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dhcpd $(1)/usr/sbin/
endef
endef
define Package/dsl-qos-queue/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
- install -m0755 $(PKG_BUILD_DIR)/dsl_qos_train $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/ipt_rules $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/dsl_qos_train $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/ipt_rules $(1)/usr/sbin
endef
$(eval $(call BuildPackage,dsl-qos-queue))
endef
define Package/dsniff/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
endef
endef
define Package/ethtool/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin
endef
endef
define Package/ettercap/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/etter.conf $(1)/etc/
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/etter{cap,filter,log} $(1)/usr/bin/
- install -d -m0755 $(1)/usr/lib/ettercap
+ $(INSTALL_DIR) $(1)/usr/lib/ettercap
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ettercap/*.so $(1)/usr/lib/ettercap/
- install -d -m0755 $(1)/usr/share/ettercap
+ $(INSTALL_DIR) $(1)/usr/share/ettercap
$(CP) $(PKG_INSTALL_DIR)/usr/share/ettercap/* $(1)/usr/share/ettercap/
endef
endef
define Package/ez-ipupdate/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/ez-ipupdate $(1)/usr/sbin/
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/ez-ipupdate $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc
install -m0600 ./files/ez-ipupdate.conf $(1)/etc/
- install -d -m0755 $(1)/etc/hotplug.d/iface
- install -m0755 ./files/ez-ipupdate.hotplug $(1)/etc/hotplug.d/iface/10-ez-ipupdate
+ $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
+ $(INSTALL_BIN) ./files/ez-ipupdate.hotplug $(1)/etc/hotplug.d/iface/10-ez-ipupdate
endef
$(eval $(call BuildPackage,ez-ipupdate))
endef
define Package/fping/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/fping4 $(1)/usr/bin/
$(CP) $(PKG_BUILD_DIR)/fping6 $(1)/usr/bin/
ln -sf fping4 $(1)/usr/bin/fping
endef
define Package/fprobe/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/src/fprobe $(1)/usr/bin/
endef
endef
define Package/freeradius/install
- install -d -m0755 $(1)/etc/freeradius
+ $(INSTALL_DIR) $(1)/etc/freeradius
for f in clients.conf dictionary radiusd.conf; do \
$(CP) $(PKG_INSTALL_DIR)/etc/freeradius/$$$${f} $(1)/etc/freeradius/ ; \
done
- install -d -m0755 $(1)/usr/share/freeradius
+ $(INSTALL_DIR) $(1)/usr/share/freeradius
$(CP) $(PKG_INSTALL_DIR)/usr/share/freeradius/dictionary $(1)/usr/share/freeradius/
for f in $(PKG_DICTIONARIES); do \
$(CP) $(PKG_INSTALL_DIR)/usr/share/freeradius/dictionary.$$$${f} $(1)/usr/share/freeradius/ ; \
done
- install -d -m0755 $(1)/usr/lib/freeradius
+ $(INSTALL_DIR) $(1)/usr/lib/freeradius
$(CP) $(PKG_INSTALL_DIR)/usr/lib/freeradius/libradius{,-*}.so $(1)/usr/lib/freeradius/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/radiusd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/radiusd.init $(1)/etc/init.d/radiusd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/radiusd.init $(1)/etc/init.d/radiusd
endef
define Package/freeradius-democerts/install
- install -d -m0755 $(1)/etc/freeradius
+ $(INSTALL_DIR) $(1)/etc/freeradius
$(CP) $(PKG_INSTALL_DIR)/etc/freeradius/certs $(1)/etc/freeradius/
rm -rf $(1)/etc/freeradius/certs/README
rm -rf $(1)/etc/freeradius/certs/new*
endef
define Package/freeradius-utils/install
- install -m0755 -d $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
for f in radclient radeapclient; do \
$(CP) $(PKG_INSTALL_DIR)/usr/bin/$$$${f} $(1)/usr/bin/ ; \
done
define BuildPlugin
define Package/$(1)/install
- [ -z "$(2)" ] || install -d -m0755 $$(1)/usr/lib/freeradius
+ [ -z "$(2)" ] || $(INSTALL_DIR) $$(1)/usr/lib/freeradius
for m in $(2); do \
$(CP) $(PKG_INSTALL_DIR)/usr/lib/freeradius/$$$$$$$${m}{,-*}.so $$(1)/usr/lib/freeradius/ ; \
done
- [ -z "$(3)" ] || install -d -m0755 $$(1)/etc/freeradius
+ [ -z "$(3)" ] || $(INSTALL_DIR) $$(1)/etc/freeradius
for f in $(3); do \
$(CP) $(PKG_INSTALL_DIR)/etc/freeradius/$$$$$$$${f} $$(1)/etc/freeradius/ ; \
done
endef
define Package/frickin/install
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/frickin.default $(1)/etc/default/frickin
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/frickin.init $(1)/etc/init.d/frickin
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/frickin $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/frickin.default $(1)/etc/default/frickin
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/frickin.init $(1)/etc/init.d/frickin
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/frickin $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,frickin))
endef
define Package/gmediaserver/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/gmediaserver $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/gmediaserver.default $(1)/etc/default/gmediaserver
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/gmediaserver.init $(1)/etc/init.d/gmediaserver
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/gmediaserver.default $(1)/etc/default/gmediaserver
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/gmediaserver.init $(1)/etc/init.d/gmediaserver
endef
$(eval $(call BuildPackage,gmediaserver))
endef
define Package/gpsd/install
- install -d -m0755 $(1)/usr/lib
- install -m0755 $(PKG_INSTALL_DIR)/usr/lib/libgps.so.* $(1)/usr/lib/
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/gpsd $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libgps.so.* $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gpsd $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,gpsd))
define Package/htpdate/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/htpdate $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/default/
- install -m0644 ./files/htpdate.default $(1)/etc/default/htpdate
- install -d -m0755 $(1)/etc/init.d/
- install -m0755 ./files/htpdate.init $(1)/etc/init.d/htpdate
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/htpdate $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/default/
+ $(INSTALL_DATA) ./files/htpdate.default $(1)/etc/default/htpdate
+ $(INSTALL_DIR) $(1)/etc/init.d/
+ $(INSTALL_BIN) ./files/htpdate.init $(1)/etc/init.d/htpdate
endef
$(eval $(call BuildPackage,htpdate))
endef
define Package/httping/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/httping $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/httping $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,httping))
endef
define Package/icecast/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/icecast.xml $(1)/etc/
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/icecast $(1)/usr/bin/
- install -d -m0755 $(1)/usr/share/icecast
+ $(INSTALL_DIR) $(1)/usr/share/icecast
$(CP) $(PKG_INSTALL_DIR)/usr/share/icecast/admin $(1)/usr/share/icecast/
$(CP) $(PKG_INSTALL_DIR)/usr/share/icecast/web $(1)/usr/share/icecast/
endef
endef
define Package/iftop/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/iftop $(1)/usr/bin/
endef
endef
define Package/igmpproxy/install
- install -d -m0755 $(1)/etc
- install -m0755 $(PKG_BUILD_DIR)/src/igmpproxy.conf $(1)/etc
- install -d -m0755 $(1)/usr/sbin $(1)/etc
- install -m0644 $(PKG_BUILD_DIR)/src/igmpproxy $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/igmpproxy.conf $(1)/etc
+ $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/igmpproxy $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,igmpproxy))
endef
define Package/ipcad/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/ipcad.conf $(1)/etc/
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ipcad $(1)/usr/bin/
endef
endef
define Package/iperf/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/iperf $(1)/usr/bin
endef
endef
define Package/ipkungfu/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/dummy_server $(1)/usr/sbin/
$(CP) $(PKG_BUILD_DIR)/ipkungfu $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/ipkungfu/
+ $(INSTALL_DIR) $(1)/etc/ipkungfu/
$(CP) $(PKG_BUILD_DIR)/files/conf/* $(1)/etc/ipkungfu/
endef
endef
define Package/iptables-snmp/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/iptables-snmp.so $(1)/usr/lib
endef
endef
define Package/iptraf/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/src/iptraf $(1)/usr/bin/
- install -d -m0755 $(1)/var/lib/iptraf/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/iptraf $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/var/lib/iptraf/
echo "$(PKG_VERSION)" > $(1)/var/lib/iptraf/version
- install -d -m0755 $(1)/var/log/iptraf $(1)/var/run/iptraf
+ $(INSTALL_DIR) $(1)/var/log/iptraf $(1)/var/run/iptraf
endef
$(eval $(call BuildPackage,iptraf))
endef
define Package/irssi/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/src/fe-text/irssi $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/fe-text/irssi $(1)/usr/bin/
endef
$(eval $(call BuildPackage,irssi))
#FIXME: remove this package?
define Package/kismet/install
- install -d -m0755 $(1)/usr/bin/
- install -m0755 $(PKG_BUILD_DIR)/scripts/kismet $(1)/usr/bin/kismet
+ $(INSTALL_DIR) $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/kismet $(1)/usr/bin/kismet
endef
define Package/kismet-client/install
- install -d -m0755 $(1)/etc/kismet/
- install -m0644 ./files/ap_manuf $(1)/etc/kismet/
- install -m0644 ./files/client_manuf $(1)/etc/kismet/
- install -m0644 ./files/kismet.conf $(1)/etc/kismet/
- install -m0644 ./files/kismet_ui.conf $(1)/etc/kismet/
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/kismet_client $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/etc/kismet/
+ $(INSTALL_DATA) ./files/ap_manuf $(1)/etc/kismet/
+ $(INSTALL_DATA) ./files/client_manuf $(1)/etc/kismet/
+ $(INSTALL_DATA) ./files/kismet.conf $(1)/etc/kismet/
+ $(INSTALL_DATA) ./files/kismet_ui.conf $(1)/etc/kismet/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/kismet_client $(1)/usr/bin/
endef
define Package/kismet-drone/install
- install -d -m0755 $(1)/etc/kismet/
- install -m0644 ./files/kismet_drone.conf $(1)/etc/kismet/
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/kismet_drone $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/etc/kismet/
+ $(INSTALL_DATA) ./files/kismet_drone.conf $(1)/etc/kismet/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/kismet_drone $(1)/usr/bin/
endef
define Package/kismet-server/install
- install -d -m0755 $(1)/etc/kismet/
- install -m0644 ./files/ap_manuf $(1)/etc/kismet/
- install -m0644 ./files/client_manuf $(1)/etc/kismet/
- install -m0644 ./files/kismet.conf $(1)/etc/kismet/
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/kismet_server $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/etc/kismet/
+ $(INSTALL_DATA) ./files/ap_manuf $(1)/etc/kismet/
+ $(INSTALL_DATA) ./files/client_manuf $(1)/etc/kismet/
+ $(INSTALL_DATA) ./files/kismet.conf $(1)/etc/kismet/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/kismet_server $(1)/usr/bin/
endef
$(eval $(call BuildPackage,kismet-client))
endef
define Package/knock/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/knock $(1)/usr/bin/
endef
define Package/kockd/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
install -m0600 $(PKG_INSTALL_DIR)/etc/knockd.conf $(1)/etc/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/knockd $(1)/usr/sbin/
endef
endef
define Package/l2tpd/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/l2tpd
- install -m0644 ./files/l2tpd.conf $(1)/etc/l2tpd/
- install -d -m0755 $(1)/etc/ppp
- install -m0644 ./files/options.l2tpd $(1)/etc/ppp/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/l2tpd.init $(1)/etc/init.d/l2tpd
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/l2tpd
+ $(INSTALL_DATA) ./files/l2tpd.conf $(1)/etc/l2tpd/
+ $(INSTALL_DIR) $(1)/etc/ppp
+ $(INSTALL_DATA) ./files/options.l2tpd $(1)/etc/ppp/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/l2tpd.init $(1)/etc/init.d/l2tpd
endef
$(eval $(call BuildPackage,l2tpd))
endef
define Package/l2tpns/install
- install -d -m0755 $(1)/etc/l2tpns
+ $(INSTALL_DIR) $(1)/etc/l2tpns
$(CP) $(PKG_INSTALL_DIR)/etc/l2tpns/* $(1)/etc/l2tpns/
- install -d -m0755 $(1)/usr/lib/l2tpns
+ $(INSTALL_DIR) $(1)/usr/lib/l2tpns
$(CP) $(PKG_INSTALL_DIR)/usr/lib/l2tpns/* $(1)/usr/lib/l2tpns/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
endef
endef
define Package/lft/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/lft $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/lft $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,lft))
endef
define Package/lighttpd/install
- install -m0755 -d $(1)/etc
- install -m0644 ./files/lighttpd.conf $(1)/etc/
- install -m0755 -d $(1)/etc/default
- install -m0644 ./files/lighttpd.default $(1)/etc/default/lighttpd
- install -m0755 -d $(1)/etc/init.d
- install -m0755 ./files/lighttpd.init $(1)/etc/init.d/lighttpd
- install -m0755 -d $(1)/usr/lib/lighttpd
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/lighttpd.conf $(1)/etc/
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/lighttpd.default $(1)/etc/default/lighttpd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/lighttpd.init $(1)/etc/init.d/lighttpd
+ $(INSTALL_DIR) $(1)/usr/lib/lighttpd
for m in dirlisting indexfile staticfile; do \
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lighttpd/mod_$$$${m}.so $(1)/usr/lib/lighttpd/ ; \
done
- install -m0755 -d $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/lighttpd $(1)/usr/sbin/
endef
define BuildPlugin
define Package/$(1)/install
- [ -z "$(2)" ] || install -d -m0755 $$(1)/usr/lib/lighttpd
+ [ -z "$(2)" ] || $(INSTALL_DIR) $$(1)/usr/lib/lighttpd
for m in $(2); do \
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lighttpd/mod_$$$$$$$${m}.so $$(1)/usr/lib/lighttpd/ ; \
done
endef
define Package/maradns/install
- install -d -m0755 $(1)/etc
- install -m0644 ./files/mararc $(1)/etc/mararc
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/maradns.init $(1)/etc/init.d/maradns
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/mararc $(1)/etc/mararc
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/maradns.init $(1)/etc/init.d/maradns
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/{askmara,getzone,fetchzone,duende} $(1)/usr/bin/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/{maradns,zoneserver} $(1)/usr/sbin/
endef
endef
define Package/matrixtunnel/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/matrixtunnel $(1)/usr/bin/
endef
endef
define Package/miau/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
- install -d -m0755 $(1)/etc/init.d
- install -d -m0755 $(1)/etc/default
- install -d -m0755 $(1)/etc/miau
- install -m0755 ./files/miau.init $(1)/etc/init.d/miau
- install -m0644 ./files/miau $(1)/etc/default/miau
- install -m0644 ./files/miaurc $(1)/etc/miau/miaurc
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DIR) $(1)/etc/miau
+ $(INSTALL_BIN) ./files/miau.init $(1)/etc/init.d/miau
+ $(INSTALL_DATA) ./files/miau $(1)/etc/default/miau
+ $(INSTALL_DATA) ./files/miaurc $(1)/etc/miau/miaurc
endef
$(eval $(call BuildPackage,miau))
endef
define Package/miax/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/miax $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/miax $(1)/usr/bin/
endef
$(eval $(call BuildPackage,miax))
endef
define Package/mini-httpd/install
- install -d -m0755 $(1)/etc
- install -m0644 ./files/mini_httpd.conf $(1)/etc/mini_httpd.conf
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/mini_httpd.default $(1)/etc/default/mini_httpd
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/mini_httpd.init $(1)/etc/init.d/mini_httpd
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/mini_httpd $(1)/usr/sbin/mini_httpd
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/mini_httpd.conf $(1)/etc/mini_httpd.conf
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/mini_httpd.default $(1)/etc/default/mini_httpd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/mini_httpd.init $(1)/etc/init.d/mini_httpd
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/mini_httpd $(1)/usr/sbin/mini_httpd
endef
define Package/mini-httpd-htpasswd/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/htpasswd $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/htpasswd $(1)/usr/sbin/
endef
define Package/mini-httpd-matrixssl/install
- install -d -m0755 $(1)/etc
- install -m0644 ./files/mini_httpd-ssl.conf $(1)/etc/mini_httpd.conf
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/mini_httpd-ssl.conf $(1)/etc/mini_httpd.conf
install -m0600 ./files/mini_httpd.pem $(1)/etc/mini_httpd.pem
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/mini_httpd.default $(1)/etc/default/mini_httpd
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/mini_httpd.init $(1)/etc/init.d/mini_httpd
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/mini_httpd-matrixssl $(1)/usr/sbin/mini_httpd
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/mini_httpd.default $(1)/etc/default/mini_httpd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/mini_httpd.init $(1)/etc/init.d/mini_httpd
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/mini_httpd-matrixssl $(1)/usr/sbin/mini_httpd
endef
define Package/mini-httpd-openssl/install
- install -d -m0755 $(1)/etc
- install -m0644 ./files/mini_httpd-ssl.conf $(1)/etc/mini_httpd.conf
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/mini_httpd-ssl.conf $(1)/etc/mini_httpd.conf
install -m0600 ./files/mini_httpd.pem $(1)/etc/mini_httpd.pem
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/mini_httpd.default $(1)/etc/default/mini_httpd
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/mini_httpd.init $(1)/etc/init.d/mini_httpd
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/mini_httpd-openssl $(1)/usr/sbin/mini_httpd
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/mini_httpd.default $(1)/etc/default/mini_httpd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/mini_httpd.init $(1)/etc/init.d/mini_httpd
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/mini_httpd-openssl $(1)/usr/sbin/mini_httpd
endef
$(eval $(call BuildPackage,mini-httpd))
endef
define Package/mini-sendmail/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/mini_sendmail $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/mini_sendmail $(1)/usr/sbin/
ln -sf mini_sendmail $(1)/usr/sbin/sendmail
endef
endef
define Package/miredo-server/install
- install -d -m0755 $(1)/etc/
+ $(INSTALL_DIR) $(1)/etc/
$(CP) $(PKG_INSTALL_DIR)/etc/miredo-server.conf-dist $(1)/etc/miredo-server.conf
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/miredo-server.init $(1)/etc/init.d/miredo-server
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/miredo-server.init $(1)/etc/init.d/miredo-server
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/miredo-server $(1)/usr/sbin/
endef
define Package/miredo-client/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/miredo.conf-dist $(1)/etc/miredo.conf
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/miredo.init $(1)/etc/init.d/miredo
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/miredo.init $(1)/etc/init.d/miredo
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/miredo $(1)/usr/sbin/
endef
endef
define Package/mtr/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/mtr $(1)/usr/sbin/
endef
endef
define Package/netperf/install
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/netserver.init $(1)/etc/init.d/netserver
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/netperf $(1)/usr/bin/
- install -m0755 $(PKG_BUILD_DIR)/netserver $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/netserver.init $(1)/etc/init.d/netserver
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/netperf $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/netserver $(1)/usr/bin/
endef
$(eval $(call BuildPackage,netperf))
endef
define Package/netstat-nat/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/netstat-nat $(1)/usr/bin/
endef
endef
define Package/nfs-kernel-server/install
- install -d -m755 $(1)/etc/init.d $(1)/usr/sbin
- install -m0644 ./files/nfsd.exports $(1)/etc/exports
- install -m0755 ./files/nfsd.init $(1)/etc/init.d/nfsd
- install -m0755 $(PKG_BUILD_DIR)/utils/lockd/lockd $(1)/usr/sbin/rpc.lockd
- install -m0755 $(PKG_BUILD_DIR)/utils/statd/statd $(1)/usr/sbin/rpc.statd
- install -m0755 $(PKG_BUILD_DIR)/utils/nfsd/nfsd $(1)/usr/sbin/rpc.nfsd
- install -m0755 $(PKG_BUILD_DIR)/utils/mountd/mountd $(1)/usr/sbin/rpc.mountd
- install -m0755 $(PKG_BUILD_DIR)/utils/exportfs/exportfs $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/sbin
+ $(INSTALL_DATA) ./files/nfsd.exports $(1)/etc/exports
+ $(INSTALL_BIN) ./files/nfsd.init $(1)/etc/init.d/nfsd
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/utils/lockd/lockd $(1)/usr/sbin/rpc.lockd
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/utils/statd/statd $(1)/usr/sbin/rpc.statd
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/utils/nfsd/nfsd $(1)/usr/sbin/rpc.nfsd
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/utils/mountd/mountd $(1)/usr/sbin/rpc.mountd
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/utils/exportfs/exportfs $(1)/usr/sbin/
endef
define Package/nfs-kernel-server-utils/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/utils/showmount/showmount $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/utils/nfsstat/nfsstat $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/utils/showmount/showmount $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/utils/nfsstat/nfsstat $(1)/usr/sbin
endef
$(eval $(call BuildPackage,nfs-kernel-server))
endef
define Package/nfs-server/install
- install -d -m0755 $(1)/etc
- install -m0644 ./files/nfsd.exports $(1)/etc/exports
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/nfsd.init $(1)/etc/init.d/nfsd
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/rpc.* $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/nfsd.exports $(1)/etc/exports
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/nfsd.init $(1)/etc/init.d/nfsd
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/rpc.* $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,nfs-server))
endef
define Package/nmap/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/nmap $(1)/usr/bin/
- install -d -m0755 $(1)/usr/share/nmap
+ $(INSTALL_DIR) $(1)/usr/share/nmap
for file in mac-prefixes os-fingerprints protocols rpc service-probes services; do \
$(CP) $(PKG_INSTALL_DIR)/usr/share/nmap/nmap-$$$$file $(1)/usr/share/nmap/ ; \
done
endef
define Package/nocatsplash/install
- install -d -m0755 $(1)
+ $(INSTALL_DIR) $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef
endef
define Package/send-nsca/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
install -m0600 $(PKG_BUILD_DIR)/sample-config/send_nsca.cfg $(1)/etc/
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/src/send_nsca $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/send_nsca $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,send-nsca))
endef
define Package/ntpclient/install
- install -d -m0755 $(1)/etc/hotplug.d/iface
- install -m0755 ./files/ntpclient.init $(1)/etc/hotplug.d/iface/10-ntpclient
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/ntpclient $(1)/usr/sbin/
- install -m0755 $(PKG_BUILD_DIR)/adjtimex $(1)/usr/sbin/
- install -m0755 $(PKG_BUILD_DIR)/rate.awk $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
+ $(INSTALL_BIN) ./files/ntpclient.init $(1)/etc/hotplug.d/iface/10-ntpclient
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpclient $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/adjtimex $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/rate.awk $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,ntpclient))
endef
define Package/oidentd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
+ $(INSTALL_DIR) $(1)/etc/init.d
$(CP) ./files/oidentd.init $(1)/etc/init.d/oidentd
endef
endef
define Package/olsrd/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/olsrd.conf $(1)/etc/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/olsrd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/olsrd.init $(1)/etc/init.d/olsrd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/olsrd.init $(1)/etc/init.d/olsrd
endef
define Package/olsrd-mod-dot-draw/install
- install -d -m0755 $(1)/usr/lib
- install -m0755 $(PKG_INSTALL_DIR)/usr/lib/olsrd_dot_draw.so.* $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/olsrd_dot_draw.so.* $(1)/usr/lib/
endef
define Package/olsrd-mod-dyn-gw/install
- install -d -m0755 $(1)/usr/lib
- install -m0755 $(PKG_INSTALL_DIR)/usr/lib/olsrd_dyn_gw.so.* $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/olsrd_dyn_gw.so.* $(1)/usr/lib/
endef
define Package/olsrd-mod-httpinfo/install
- install -d -m0755 $(1)/usr/lib
- install -m0755 $(PKG_INSTALL_DIR)/usr/lib/olsrd_httpinfo.so.* $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/olsrd_httpinfo.so.* $(1)/usr/lib/
endef
define Package/olsrd-mod-nameservice/install
- install -d -m0755 $(1)/usr/lib
- install -m0755 $(PKG_INSTALL_DIR)/usr/lib/olsrd_nameservice.so.* $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/olsrd_nameservice.so.* $(1)/usr/lib/
endef
define Package/olsrd-mod-power/install
- install -d -m0755 $(1)/usr/lib
- install -m0755 $(PKG_INSTALL_DIR)/usr/lib/olsrd_power.so.* $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/olsrd_power.so.* $(1)/usr/lib/
endef
define Package/olsrd-mod-secure/install
- install -d -m0755 $(1)/etc/olsrd.d
+ $(INSTALL_DIR) $(1)/etc/olsrd.d
$(CP) ./files/olsrd_secure_key $(1)/etc/olsrd.d/
- install -d -m0755 $(1)/usr/lib
- install -m0755 $(PKG_INSTALL_DIR)/usr/lib/olsrd_secure.so.* $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/olsrd_secure.so.* $(1)/usr/lib/
endef
define Package/olsrd-mod-tas/install
- install -d -m0755 $(1)/usr/lib
- install -m0755 $(PKG_INSTALL_DIR)/usr/lib/olsrd_tas.so.* $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/olsrd_tas.so.* $(1)/usr/lib/
endef
endef
define Package/openntpd/install
- install -d -m0755 $(1)/usr/sbin/
- install -m0755 $(PKG_BUILD_DIR)/ntpd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc
- install -m0644 ./files/ntpd.conf $(1)/etc/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/ntpd.init $(1)/etc/init.d/ntpd
- install -d -m0755 $(1)/etc/hotplug.d/iface
- install -m0755 ./files/ntpd.hotplug $(1)/etc/hotplug.d/iface/20-ntpd
+ $(INSTALL_DIR) $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpd $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/ntpd.conf $(1)/etc/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/ntpd.init $(1)/etc/init.d/ntpd
+ $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
+ $(INSTALL_BIN) ./files/ntpd.hotplug $(1)/etc/hotplug.d/iface/20-ntpd
endef
$(eval $(call BuildPackage,openntpd))
define BuildPlugin
define Package/$(1)/install
- [ -z "$(2)" ] || install -d -m0755 $$(1)/usr/lib/openser/modules/
+ [ -z "$(2)" ] || $(INSTALL_DIR) $$(1)/usr/lib/openser/modules/
$(CP) $(PKG_BUILD_DIR)/modules/$(2)/$(2).so \
$$(1)/usr/lib/openser/modules/ ;
endef
endef
define Package/openssh-client/install
- install -m0755 -d $(1)/etc/ssh
+ $(INSTALL_DIR) $(1)/etc/ssh
chmod 0700 $(1)/etc/ssh
$(CP) $(PKG_INSTALL_DIR)/etc/ssh/ssh_config $(1)/etc/ssh/
- install -m0755 -d $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ssh $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/scp $(1)/usr/bin/
endef
define Package/openssh-client-utils/install
- install -m0755 -d $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ssh-add $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ssh-agent $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ssh-keyscan $(1)/usr/bin/
endef
define Package/openssh-server/install
- install -m0755 -d $(1)/etc/ssh
+ $(INSTALL_DIR) $(1)/etc/ssh
chmod 0700 $(1)/etc/ssh
$(CP) $(PKG_INSTALL_DIR)/etc/ssh/sshd_config $(1)/etc/ssh/
- install -m0755 -d $(1)/etc/init.d
- install -m0755 ./files/sshd.init $(1)/etc/init.d/sshd
- install -m0755 -d $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/sshd.init $(1)/etc/init.d/sshd
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ssh-keygen $(1)/usr/bin/
- install -m0755 -d $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/sshd $(1)/usr/sbin/
endef
define Package/openssh-sftp-client/install
- install -m0755 -d $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/sftp $(1)/usr/bin/
endef
define Package/openssh-sftp-server/install
- install -m0755 -d $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sftp-server $(1)/usr/lib/
- install -m0755 -d $(1)/usr/libexec
+ $(INSTALL_DIR) $(1)/usr/libexec
ln -sf ../lib/sftp-server $(1)/usr/libexec/sftp-server
endef
endef
define Package/openvpn/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/openvpn $(1)/usr/sbin/
endef
define Package/openvpn-easy-rsa/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/easy-rsa/2.0/{build-*,clean-all,inherit-inter,list-crl,pkitool,revoke-full,sign-req} $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/easy-rsa
+ $(INSTALL_DIR) $(1)/etc/easy-rsa
install -m 0644 $(PKG_BUILD_DIR)/easy-rsa/2.0/openssl.cnf $(1)/etc/easy-rsa/openssl.cnf
install -m 0644 $(PKG_BUILD_DIR)/easy-rsa/2.0/vars $(1)/etc/easy-rsa/vars
endef
endef
define Package/p910nd/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/p910nd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/p910nd.default $(1)/etc/default/p910nd
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/p910nd.init $(1)/etc/init.d/p910nd
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/p910nd $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/p910nd.default $(1)/etc/default/p910nd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/p910nd.init $(1)/etc/init.d/p910nd
endef
$(eval $(call BuildPackage,p910nd))
endef
define Package/parprouted/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/parprouted $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/default
- install -m0755 ./files/parprouted.default $(1)/etc/default/parprouted
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/parprouted.init $(1)/etc/init.d/parprouted
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/parprouted $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_BIN) ./files/parprouted.default $(1)/etc/default/parprouted
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/parprouted.init $(1)/etc/init.d/parprouted
endef
$(eval $(call BuildPackage,parprouted))
endef
define Package/peerguardian/install
- install -d -m0755 $(1)/etc
- install -m0644 $(PKG_BUILD_DIR)/PG.conf $(1)/etc/
- install -m0644 $(PKG_BUILD_DIR)/p2p.p2b.p2p $(1)/etc/
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/peerguardnf $(1)/usr/sbin/
- install -m0755 $(PKG_BUILD_DIR)/pgtext $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0644 ./files/peerguardian.init $(1)/etc/init.d/peerguardian
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/PG.conf $(1)/etc/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/p2p.p2b.p2p $(1)/etc/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/peerguardnf $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/pgtext $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_DATA) ./files/peerguardian.init $(1)/etc/init.d/peerguardian
endef
$(eval $(call BuildPackage,peerguardian))
endef
define Package/$(1)/install
- install -d -m0755 $$(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/$(2) $$(1)/usr/sbin/$(3)
- install -d -m0755 $$(1)/etc
- install -m0644 ./files/$(3).conf $$(1)/etc/
- install -d -m0755 $$(1)/etc/default
- install -m0644 ./files/$(3).default $$(1)/etc/default/$(3)
- install -d -m0755 $$(1)/etc/init.d
- install -m0755 ./files/$(3).init $$(1)/etc/init.d/$(3)
+ $(INSTALL_DIR) $$(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(2) $$(1)/usr/sbin/$(3)
+ $(INSTALL_DIR) $$(1)/etc
+ $(INSTALL_DATA) ./files/$(3).conf $$(1)/etc/
+ $(INSTALL_DIR) $$(1)/etc/default
+ $(INSTALL_DATA) ./files/$(3).default $$(1)/etc/default/$(3)
+ $(INSTALL_DIR) $$(1)/etc/init.d
+ $(INSTALL_BIN) ./files/$(3).init $$(1)/etc/init.d/$(3)
endef
endef
endef
define Package/pmacct-client/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/pmacct $(1)/usr/sbin/
endef
endef
define Package/portmap/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/portmap $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/portmap.init $(1)/etc/init.d/portmap
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/portmap $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/portmap.init $(1)/etc/init.d/portmap
endef
$(eval $(call BuildPackage,portmap))
endef
define Package/portsentry/install
- install -d -m0755 $(1)/etc
- install -m0644 $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(1)/etc/
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_NAME).conf $(1)/etc/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
endef
$(eval $(call BuildPackage,portsentry))
endef
define Package/pptpd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/pptpd $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/pptpctrl $(1)/usr/sbin/
- install -d -m0755 $(1)/usr/lib/pptpd
+ $(INSTALL_DIR) $(1)/usr/lib/pptpd
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pptpd/* $(1)/usr/lib/pptpd
- install -d -m0755 $(1)/etc
- install -m0644 ./files/pptpd.conf $(1)/etc/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/pptpd.init $(1)/etc/init.d/pptpd
- install -d -m0755 $(1)/etc/ppp
- install -m0644 ./files/options.pptpd $(1)/etc/ppp/
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/pptpd.conf $(1)/etc/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/pptpd.init $(1)/etc/init.d/pptpd
+ $(INSTALL_DIR) $(1)/etc/ppp
+ $(INSTALL_DATA) ./files/options.pptpd $(1)/etc/ppp/
endef
$(eval $(call BuildPackage,pptpd))
endef
define Package/privoxy/install
- install -d -m0755 $(1)/usr/sbin $(1)/etc/privoxy
+ $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/privoxy
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/privoxy $(1)/usr/sbin/
endef
endef
define Package/psybnc/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/psybnc.sh $(1)/usr/sbin/psybnc
- install -d -m0755 $(1)/usr/share/psybnc
- install -m0755 $(PKG_BUILD_DIR)/psybnc $(1)/usr/share/psybnc/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/psybnc.sh $(1)/usr/sbin/psybnc
+ $(INSTALL_DIR) $(1)/usr/share/psybnc
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/psybnc $(1)/usr/share/psybnc/
install -m0600 $(PKG_BUILD_DIR)/psybnc.conf $(1)/usr/share/psybnc/
- install -d -m0755 $(1)/usr/share/psybnc/lang
- install -m0644 $(PKG_BUILD_DIR)/lang/english.lng $(1)/usr/share/psybnc/lang/
+ $(INSTALL_DIR) $(1)/usr/share/psybnc/lang
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/lang/english.lng $(1)/usr/share/psybnc/lang/
ln -sf /tmp $(1)/usr/share/psybnc/log
endef
endef
define Package/ptunnel/install
- install -m0755 -d $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ptunnel $(1)/usr/sbin/
endef
endef
define Package/quagga/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/zebra $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/watchquagga $(1)/usr/sbin/
# avoid /etc being set to 0750
- install -d -m0755 $(1)/etc/quagga/
+ $(INSTALL_DIR) $(1)/etc/quagga/
chmod 0750 $(1)/etc/quagga/
- install -d -m0755 $(1)/etc/init.d/
- install -m0755 ./files/quagga $(1)/usr/sbin/quagga.init
- install -m0755 ./files/quagga.init $(1)/etc/init.d/quagga
- install -d -m0755 $(1)/var/run/quagga
+ $(INSTALL_DIR) $(1)/etc/init.d/
+ $(INSTALL_BIN) ./files/quagga $(1)/usr/sbin/quagga.init
+ $(INSTALL_BIN) ./files/quagga.init $(1)/etc/init.d/quagga
+ $(INSTALL_DIR) $(1)/var/run/quagga
endef
define Package/quagga/postinst
endef
define Package/quagga-bgpd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/bgpd $(1)/usr/sbin/
endef
define Package/quagga-isisd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/isisd $(1)/usr/sbin
endef
define Package/quagga-ospfd/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libospf.so.* $(1)/usr/lib/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ospfd $(1)/usr/sbin/
endef
define Package/quagga-ospf6d/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ospf6d $(1)/usr/sbin/
endef
define Package/quagga-ripd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ripd $(1)/usr/sbin/
endef
define Package/quagga-ripngd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ripngd $(1)/usr/sbin/
endef
define Package/quagga-vtysh/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/vtysh $(1)/usr/bin/
endef
define Package/quagga-libospf/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libospf.so.* $(1)/usr/lib/
endef
define Package/quagga-libzebra/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libzebra.so.* $(1)/usr/lib
endef
endef
define Package/raddump/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/raddump $(1)/usr/bin/
endef
endef
define Package/radvd/install
- install -d -m0755 $(1)/etc
- install -m0644 ./files/radvd.conf $(1)/etc/radvd.conf
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/radvd.init $(1)/etc/init.d/radvd
- install -d -m0755 $(1)/usr/sbin
- install -m 755 $(PKG_INSTALL_DIR)/usr/sbin/radvd $(1)/usr/sbin/
- install -m 755 $(PKG_INSTALL_DIR)/usr/sbin/radvdump $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/radvd.conf $(1)/etc/radvd.conf
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/radvd.init $(1)/etc/init.d/radvd
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/radvd $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/radvdump $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,radvd))
endef
define Package/rarpd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/rarpd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/default
+ $(INSTALL_DIR) $(1)/etc/default
install -m644 ./files/rarpd.default $(1)/etc/default/rarpd
- install -d -m0755 $(1)/etc/init.d
+ $(INSTALL_DIR) $(1)/etc/init.d
install -m755 ./files/rarpd.init $(1)/etc/init.d/rarpd
endef
endef
define Package/reaim/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/reaim $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/reaim.init $(1)/etc/init.d/reaim
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/reaim.init $(1)/etc/init.d/reaim
endef
$(eval $(call BuildPackage,reaim))
endef
define Package/rp-l2tpd/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/l2tp.conf.example $(1)/etc/l2tp.conf
- install -d -m0755 $(1)/usr/lib/l2tp
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/lib/l2tp
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/l2tpd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/rp-l2tpd.init $(1)/etc/init.d/rp-l2tpd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/rp-l2tpd.init $(1)/etc/init.d/rp-l2tpd
endef
define Package/rp-l2tpd-mod-cmd/install
- install -d -m0755 $(1)/usr/lib/l2tp
+ $(INSTALL_DIR) $(1)/usr/lib/l2tp
$(CP) $(PKG_INSTALL_DIR)/usr/lib/l2tp/cmd.so $(1)/usr/lib/l2tp/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/l2tp-control $(1)/usr/sbin/
endef
define Package/rp-l2tpd-mod-ppp/install
- install -d -m0755 $(1)/usr/lib/l2tp
+ $(INSTALL_DIR) $(1)/usr/lib/l2tp
$(CP) $(PKG_INSTALL_DIR)/usr/lib/l2tp/sync-pppd.so $(1)/usr/lib/l2tp/
endef
endef
define Package/rp-pppoe-client/install
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/pppoe-client.init $(1)/etc/init.d/pppoe-client
- install -d -m0755 $(1)/etc/ppp
- install -m0644 $(PKG_INSTALL_DIR)/etc/pppoe.conf $(1)/etc/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/pppoe-client.init $(1)/etc/init.d/pppoe-client
+ $(INSTALL_DIR) $(1)/etc/ppp
+ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/pppoe.conf $(1)/etc/
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/pppoe $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/adsl-* $(1)/usr/sbin/
endef
define Package/rp-pppoe-relay/install
- install -d -m0755 $(1)/etc/default
- install -m0755 ./files/pppoe-relay.default $(1)/etc/default/pppoe-relay
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/pppoe-relay.init $(1)/etc/init.d/pppoe-relay
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_BIN) ./files/pppoe-relay.default $(1)/etc/default/pppoe-relay
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/pppoe-relay.init $(1)/etc/init.d/pppoe-relay
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/pppoe-relay $(1)/usr/sbin/
endef
define Package/rp-pppoe-server/install
- install -d -m0755 $(1)/etc/default
- install -m0755 ./files/pppoe-server.default $(1)/etc/default/pppoe-server
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/pppoe-server.init $(1)/etc/init.d/pppoe-server
- install -d -m0755 $(1)/etc/ppp
- install -m0644 $(PKG_INSTALL_DIR)/etc/ppp/pppoe-server-options $(1)/etc/ppp/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_BIN) ./files/pppoe-server.default $(1)/etc/default/pppoe-server
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/pppoe-server.init $(1)/etc/init.d/pppoe-server
+ $(INSTALL_DIR) $(1)/etc/ppp
+ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/ppp/pppoe-server-options $(1)/etc/ppp/
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/pppoe-server $(1)/usr/sbin/
endef
define Package/rp-pppoe-sniff/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/pppoe-sniff $(1)/usr/sbin/
endef
endef
define Package/rrs/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/rrs-ssl $(1)/usr/bin/rrs
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/rrs-ssl $(1)/usr/bin/rrs
endef
define Package/rrs-nossl/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/rrs-nossl $(1)/usr/bin/rrs
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/rrs-nossl $(1)/usr/bin/rrs
endef
$(eval $(call BuildPackage,rrs))
endef
define Package/samba-server/install
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/samba.init $(1)/etc/init.d/samba
- install -d -m0755 $(1)/etc/samba
- install -m0644 ./files/smb.conf $(1)/etc/samba/smb.conf
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/source/bin/smbpasswd.shared $(1)/usr/bin/smbpasswd
- install -d -m0755 $(1)/usr/lib
- install -m0755 $(PKG_BUILD_DIR)/source/bin/libsmb.so $(1)/usr/lib/
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/source/bin/nmbd.shared $(1)/usr/sbin/nmbd
- install -m0755 $(PKG_BUILD_DIR)/source/bin/smbd.shared $(1)/usr/sbin/smbd
- install -d -m0755 $(1)/usr/share/samba
- install -m0644 $(PKG_INSTALL_DIR)/usr/share/samba/codepage.{437,850} $(1)/usr/share/samba/
- install -m0644 $(PKG_INSTALL_DIR)/usr/share/samba/unicode_map.{437,850} $(1)/usr/share/samba/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/samba.init $(1)/etc/init.d/samba
+ $(INSTALL_DIR) $(1)/etc/samba
+ $(INSTALL_DATA) ./files/smb.conf $(1)/etc/samba/smb.conf
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/smbpasswd.shared $(1)/usr/bin/smbpasswd
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/libsmb.so $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/nmbd.shared $(1)/usr/sbin/nmbd
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/smbd.shared $(1)/usr/sbin/smbd
+ $(INSTALL_DIR) $(1)/usr/share/samba
+ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/samba/codepage.{437,850} $(1)/usr/share/samba/
+ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/samba/unicode_map.{437,850} $(1)/usr/share/samba/
endef
define Package/samba-client/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_INSTALL_DIR)/usr/bin/smbclient $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/smbclient $(1)/usr/bin/
endef
$(eval $(call BuildPackage,samba-server))
endef
define Package/scanlogd/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/scanlogd.init $(1)/etc/init.d/scanlogd
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/scanlogd.init $(1)/etc/init.d/scanlogd
endef
$(eval $(call BuildPackage,scanlogd))
endef
define Package/scdp/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/scdp $(1)/usr/bin/
endef
endef
define Package/ser2net/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ser2net $(1)/usr/sbin/
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_BUILD_DIR)/ser2net.conf $(1)/etc/
endef
endef
define Package/shat/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/src/shatd $(1)/usr/sbin/
- install -m0755 $(PKG_BUILD_DIR)/src/shatc $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/shatd $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/shatc $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,shat))
endef
define Package/sipp/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,sipp))
endef
define Package/siproxd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/siproxd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc
- install -m0644 $(PKG_BUILD_DIR)/doc/siproxd.conf.example $(1)/etc/siproxd.conf
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/doc/siproxd.conf.example $(1)/etc/siproxd.conf
install -m0600 $(PKG_BUILD_DIR)/doc/siproxd_passwd.cfg $(1)/etc/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/siproxd.init $(1)/etc/init.d/siproxd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/siproxd.init $(1)/etc/init.d/siproxd
endef
$(eval $(call BuildPackage,siproxd))
endef
define Package/sipsak/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/sipsak $(1)/usr/bin/
endef
endef
define Package/slurm/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/slurm $(1)/usr/bin/
endef
endef
define Package/$(1)/install
- install -d -m0755 $$(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/snort-wireless-$(2) $$(1)/usr/sbin/snort
- install -d -m0755 $$(1)/etc/snort
- install -m0644 $(PKG_BUILD_DIR)/etc/snort.conf $$(1)/etc/snort/
- install -m0644 $(PKG_BUILD_DIR)/etc/classification.config $$(1)/etc/snort/
- install -m0644 $(PKG_BUILD_DIR)/etc/gen-msg.map $$(1)/etc/snort/
- install -m0644 $(PKG_BUILD_DIR)/etc/reference.config $$(1)/etc/snort/
- install -m0644 $(PKG_BUILD_DIR)/etc/sid-msg.map $$(1)/etc/snort/
- install -m0644 $(PKG_BUILD_DIR)/etc/threshold.conf $$(1)/etc/snort/
- install -m0644 $(PKG_BUILD_DIR)/etc/unicode.map $$(1)/etc/snort/
- install -d -m0755 $$(1)/etc/default
- install -m0644 ./files/snort-wireless.default $$(1)/etc/default/snort
- install -d -m0755 $$(1)/etc/init.d
- install -m0755 ./files/snort-wireless.init $$(1)/etc/init.d/snort
+ $(INSTALL_DIR) $$(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/snort-wireless-$(2) $$(1)/usr/sbin/snort
+ $(INSTALL_DIR) $$(1)/etc/snort
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/snort.conf $$(1)/etc/snort/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/classification.config $$(1)/etc/snort/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/gen-msg.map $$(1)/etc/snort/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/reference.config $$(1)/etc/snort/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/sid-msg.map $$(1)/etc/snort/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/threshold.conf $$(1)/etc/snort/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/unicode.map $$(1)/etc/snort/
+ $(INSTALL_DIR) $$(1)/etc/default
+ $(INSTALL_DATA) ./files/snort-wireless.default $$(1)/etc/default/snort
+ $(INSTALL_DIR) $$(1)/etc/init.d
+ $(INSTALL_BIN) ./files/snort-wireless.init $$(1)/etc/init.d/snort
endef
endef
endef
define Package/$(1)/install
- install -d -m0755 $$(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/snort-$(2) $$(1)/usr/sbin/snort
- install -d -m0755 $$(1)/etc/snort
- install -m0644 $(PKG_BUILD_DIR)/etc/snort.conf $$(1)/etc/snort/
- install -m0644 $(PKG_BUILD_DIR)/etc/classification.config $$(1)/etc/snort/
- install -m0644 $(PKG_BUILD_DIR)/etc/gen-msg.map $$(1)/etc/snort/
- install -m0644 $(PKG_BUILD_DIR)/etc/reference.config $$(1)/etc/snort/
- install -m0644 $(PKG_BUILD_DIR)/etc/sid-msg.map $$(1)/etc/snort/
- install -m0644 $(PKG_BUILD_DIR)/etc/threshold.conf $$(1)/etc/snort/
- install -m0644 $(PKG_BUILD_DIR)/etc/unicode.map $$(1)/etc/snort/
- install -d -m0755 $$(1)/etc/default
- install -m0644 ./files/snort.default $$(1)/etc/default/snort
- install -d -m0755 $$(1)/etc/init.d
- install -m0755 ./files/snort.init $$(1)/etc/init.d/snort
+ $(INSTALL_DIR) $$(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/snort-$(2) $$(1)/usr/sbin/snort
+ $(INSTALL_DIR) $$(1)/etc/snort
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/snort.conf $$(1)/etc/snort/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/classification.config $$(1)/etc/snort/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/gen-msg.map $$(1)/etc/snort/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/reference.config $$(1)/etc/snort/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/sid-msg.map $$(1)/etc/snort/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/threshold.conf $$(1)/etc/snort/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/unicode.map $$(1)/etc/snort/
+ $(INSTALL_DIR) $$(1)/etc/default
+ $(INSTALL_DATA) ./files/snort.default $$(1)/etc/default/snort
+ $(INSTALL_DIR) $$(1)/etc/init.d
+ $(INSTALL_BIN) ./files/snort.init $$(1)/etc/init.d/snort
endef
endef
endef
define Package/socat/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/socat $(1)/usr/bin/
endef
endef
define Package/squid/install
- install -d -m0755 $(1)/etc/squid
+ $(INSTALL_DIR) $(1)/etc/squid
$(CP) $(PKG_INSTALL_DIR)/etc/squid/mime.conf $(1)/etc/squid/
$(CP) $(PKG_INSTALL_DIR)/etc/squid/squid.conf $(1)/etc/squid/
- install -d -m0755 $(1)/usr/share/squid
+ $(INSTALL_DIR) $(1)/usr/share/squid
$(CP) $(PKG_INSTALL_DIR)/usr/share/squid/* $(1)/usr/share/squid/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/squid $(1)/usr/sbin/
endef
define BuildPlugin
define Package/$(1)/install
- install -d -m0755 $$(1)/usr/lib/squid
+ $(INSTALL_DIR) $$(1)/usr/lib/squid
$(CP) $(PKG_INSTALL_DIR)/usr/lib/squid/$(2) $$(1)/usr/lib/squid/
endef
endef
define Package/srelay/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/srelay $(1)/usr/bin/
- install -d -m0755 $(1)/etc
- install -m0644 files/srelay.conf $(1)/etc/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 files/srelay.init $(1)/etc/init.d/srelay
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/srelay $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) files/srelay.conf $(1)/etc/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) files/srelay.init $(1)/etc/init.d/srelay
endef
$(eval $(call BuildPackage,srelay))
endef
define Package/ssltunnel/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_INSTALL_DIR)/usr/bin/pppclient $(1)/usr/bin/
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/pppwho $(1)/usr/sbin/
- install -d -m0755 $(1)/usr/lib
- install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppserver $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pppclient $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pppwho $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/pppserver $(1)/usr/lib/
endef
$(eval $(call BuildPackage,ssltunnel))
endef
define Package/ssmtp/install
- install -d -m0755 $(1)/etc/ssmtp
- install -m0644 $(PKG_BUILD_DIR)/ssmtp.conf $(1)/etc/ssmtp/
- install -m0644 $(PKG_BUILD_DIR)/revaliases $(1)/etc/ssmtp/
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/ssmtp $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/ssmtp
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/ssmtp.conf $(1)/etc/ssmtp/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/revaliases $(1)/etc/ssmtp/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/ssmtp $(1)/usr/sbin/
ln -sf ssmtp $(1)/usr/sbin/sendmail
endef
endef
define Package/stunnel/install
- install -d -m0755 $(1)/usr/sbin $(1)/usr/lib $(1)/usr/stunnel
- install -d -m0755 $(1)/etc/stunnel $(1)/etc/init.d
+ $(INSTALL_DIR) $(1)/usr/sbin $(1)/usr/lib $(1)/usr/stunnel
+ $(INSTALL_DIR) $(1)/etc/stunnel $(1)/etc/init.d
$(CP) $(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
endef
define Package/libwrap/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/shared/libwrap.so.* $(1)/usr/lib/
endef
endef
define Package/tcpdump/install
- install -m0755 -d $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/tcpdump $(1)/usr/sbin/
endef
endef
define Package/tftp-hpa/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/tftp/tftp $(1)/usr/bin/tftp-hpa
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/tftp/tftp $(1)/usr/bin/tftp-hpa
endef
define Package/tftpd-hpa/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/tftpd/tftpd $(1)/usr/sbin/tftpd-hpa
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/tftpd-hpa.init $(1)/etc/init.d/tftpd-hpa
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/tftpd/tftpd $(1)/usr/sbin/tftpd-hpa
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/tftpd-hpa.init $(1)/etc/init.d/tftpd-hpa
endef
$(eval $(call BuildPackage,tftp-hpa))
endef
define Package/tinc/install
- install -m0755 -d $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/tincd $(1)/usr/sbin/
endef
endef
define Package/tinyproxy/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/tinyproxy $(1)/usr/sbin/
- install -d -m0755 $(1)/usr/share/tinyproxy
+ $(INSTALL_DIR) $(1)/usr/share/tinyproxy
$(CP) $(PKG_INSTALL_DIR)/usr/share/tinyproxy/*.html $(1)/usr/share/tinyproxy/
- install -d -m0755 $(1)/etc/tinyproxy
+ $(INSTALL_DIR) $(1)/etc/tinyproxy
$(CP) $(PKG_INSTALL_DIR)/etc/tinyproxy/tinyproxy.conf $(1)/etc/tinyproxy/
- install -d -m0755 $(1)/etc/init.d
+ $(INSTALL_DIR) $(1)/etc/init.d
$(CP) ./files/tinyproxy.init $(1)/etc/init.d/tinyproxy
endef
endef
define Package/tmsnc/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/tmsnc $(1)/usr/bin/
endef
endef
define Package/tor/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/tor $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/tor.init $(1)/etc/init.d/tor
- install -d -m0755 $(1)/etc/tor
- install -m0644 ./files/torrc $(1)/etc/tor/torrc
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/tor.init $(1)/etc/init.d/tor
+ $(INSTALL_DIR) $(1)/etc/tor
+ $(INSTALL_DATA) ./files/torrc $(1)/etc/tor/torrc
endef
$(eval $(call BuildPackage,tor))
endef
define Package/ttcp/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/ttcp $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/ttcp $(1)/usr/bin/
endef
$(eval $(call BuildPackage,ttcp))
endef
define Package/udp-broadcast-relay/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
endef
endef
define Package/ulogd/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/ulogd.conf $(1)/etc/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ulogd $(1)/usr/sbin/
- install -d -m0755 $(1)/usr/lib/ulogd
+ $(INSTALL_DIR) $(1)/usr/lib/ulogd
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ulogd/ulogd_BASE.so $(1)/usr/lib/ulogd/
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/ulogd.default $(1)/etc/default/ulogd
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/ulogd.init $(1)/etc/init.d/ulogd
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/ulogd.default $(1)/etc/default/ulogd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/ulogd.init $(1)/etc/init.d/ulogd
endef
define BuildPlugin
define Package/$(1)/install
- install -m0755 -d $$(1)/usr/lib/ulogd
+ $(INSTALL_DIR) $$(1)/usr/lib/ulogd
for m in $(2); do \
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ulogd/ulogd_$$$$$$$${m}.so $$(1)/usr/lib/ulogd/ ; \
done
endef
define Package/uob-nomad/install
- install -d -m0755 $(1)/usr/bin $(1)/usr/lib $(1)/etc/
+ $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib $(1)/etc/
$(CP) $(PKG_BUILD_DIR)/Agent/mipagent $(1)/usr/bin/
$(CP) $(PKG_BUILD_DIR)/Client/mipmn $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/conf/mip{agent,mn,mn-filters}.conf $(1)/etc/
define BuildPlugin
define Package/$(1)/install
- install -d -m0755 $$(1)/usr/lib/updatedd
- install -m0755 $(PKG_INSTALL_DIR)/usr/lib/updatedd/$(2).so $$(1)/usr/lib/updatedd/
+ $(INSTALL_DIR) $$(1)/usr/lib/updatedd
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/updatedd/$(2).so $$(1)/usr/lib/updatedd/
endef
$$(eval $$(call BuildPackage,$(1)))
endef
define Package/updatedd/install
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/ddns.init $(1)/etc/init.d/ddns
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/ddns.init $(1)/etc/init.d/ddns
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/updatedd $(1)/usr/bin/
- install -d -m0755 $(1)/usr/lib/updatedd
+ $(INSTALL_DIR) $(1)/usr/lib/updatedd
endef
$(eval $(call BuildPackage,updatedd))
endef
define Package/vgp/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/vgpd $(1)/usr/bin/
endef
endef
define Package/vnc-reflector/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/vncreflector $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/vncreflector $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,vnc-reflector))
endef
define Package/vncrepeater/install
- install -d -m0755 $(1)/usr/sbin $(1)/etc
+ $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc
$(CP) $(PKG_BUILD_DIR)/repeater $(1)/usr/sbin/$(PKG_NAME)
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_BUILD_DIR)/uvncrepeater.ini $(1)/etc/vncrepeater.conf
- install -d -m0755 $(1)/etc/init.d
+ $(INSTALL_DIR) $(1)/etc/init.d
$(CP) $(PKG_BUILD_DIR)/S60vncrepeater $(1)/etc/init.d/
endef
endef
define Package/vnstat/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/src/vnstat $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/vnstat $(1)/usr/bin/
endef
$(eval $(call BuildPackage,vnstat))
endef
define Package/vpnc/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/vpnc \
$(PKG_INSTALL_DIR)/usr/sbin/vpnc-disconnect \
$(1)/usr/sbin/
install -d -m0700 $(1)/etc/vpnc
install -m0600 $(PKG_INSTALL_DIR)/etc/vpnc/vpnc.conf $(1)/etc/vpnc/
- install -m0755 $(PKG_INSTALL_DIR)/etc/vpnc/vpnc-script $(1)/etc/vpnc/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/vpnc/vpnc-script $(1)/etc/vpnc/
endef
$(eval $(call BuildPackage,vpnc))
endef
define Package/vrrpd/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/vrrpd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/default
- install -m0644 ./files/vrrpd.default $(1)/etc/default/vrrpd
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/vrrpd.init $(1)/etc/init.d/vrrpd
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/vrrpd $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/default
+ $(INSTALL_DATA) ./files/vrrpd.default $(1)/etc/default/vrrpd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/vrrpd.init $(1)/etc/init.d/vrrpd
endef
$(eval $(call BuildPackage,vrrpd))
endef
define Package/vsftpd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/vsftpd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc
- install -m0644 ./files/vsftpd.conf $(1)/etc/vsftpd.conf
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/vsftpd.init $(1)/etc/init.d/vsftpd
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/vsftpd.conf $(1)/etc/vsftpd.conf
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/vsftpd.init $(1)/etc/init.d/vsftpd
endef
$(eval $(call BuildPackage,vsftpd))
endef
define Package/vtun/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
install -m0600 $(PKG_BUILD_DIR)/vtund.conf $(1)/etc/
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/vtund $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/vtund $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,vtun))
endef
define Package/wccpd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/wccpd $(1)/usr/sbin/
endef
endef
define Package/wdiag/install
- install -m0755 -d $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/w{start,stop,estell} $(1)/usr/sbin/
endef
endef
define Package/weechat/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/weechat-curses $(1)/usr/bin/
- install -d -m0755 $(1)/usr/lib/weechat/plugins
+ $(INSTALL_DIR) $(1)/usr/lib/weechat/plugins
$(CP) $(PKG_INSTALL_DIR)/usr/lib/weechat/plugins/lua.so* $(1)/usr/lib/weechat/plugins/
endef
endef
define Package/wifidog/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/scripts/init.d/wifidog $(1)/usr/bin/wifidog-init
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/init.d/wifidog $(1)/usr/bin/wifidog-init
$(CP) $(PKG_INSTALL_DIR)/usr/bin/wifidog $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/wdctl $(1)/usr/bin/
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libhttpd.so* $(1)/usr/lib/
- install -d -m0755 $(1)/etc
- install -m0644 ./files/wifidog.conf $(1)/etc/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/$(PKG_NAME).init $(1)/etc/init.d/wifidog
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/wifidog.conf $(1)/etc/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/wifidog
endef
$(eval $(call BuildPackage,wifidog))
endef
define Package/wknock/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/wknock $(1)/usr/sbin/
- install -m0755 $(PKG_BUILD_DIR)/wknock-ng $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/wknock $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/wknock-ng $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,wknock))
endef
define Package/wput/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/wput $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/wput $(1)/usr/bin/
endef
$(eval $(call BuildPackage,wput))
endef
define Package/wrt-radauth/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/radius-client $(1)/usr/sbin/
- install -m0755 $(PKG_BUILD_DIR)/wrt-radauth $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/radius-client $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/wrt-radauth $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,wrt-radauth))
endef
define Package/xinetd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/xinetd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc
- install -m0644 ./files/xinetd.conf $(1)/etc/xinetd.conf
- install -d -m0755 $(1)/etc/xinetd.d
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/xinetd.init $(1)/etc/init.d/xinetd
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/xinetd.conf $(1)/etc/xinetd.conf
+ $(INSTALL_DIR) $(1)/etc/xinetd.d
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/xinetd.init $(1)/etc/init.d/xinetd
endef
$(eval $(call BuildPackage,xinetd))
endef
define Package/xsupplicant/install
- install -d -m0755 $(1)/etc
- install -m0644 $(PKG_BUILD_DIR)/etc/xsupplicant.conf $(1)/etc/
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/etc/xsupplicant.conf $(1)/etc/
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/xsup_* $(1)/usr/bin/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/xsupplicant $(1)/usr/sbin/
endef
endef
define Package/yafc/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/yafc $(1)/usr/sbin/
endef
endef
define Package/madplay/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/madplay $(1)/usr/bin/
endef
endef
define Package/mpd/install
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_BUILD_DIR)/doc/mpdconf.example $(1)/etc/mpd.conf
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/mpd $(1)/usr/bin/
endef
endef
define Package/mt-daapd/install
- install -d -m0755 $(1)/etc
- install -m0644 $(PKG_BUILD_DIR)/contrib/mt-daapd.conf $(1)/etc/
- install -m0644 $(PKG_BUILD_DIR)/contrib/mt-daapd.playlist $(1)/etc/
- install -d -m0755 $(1)/usr/share
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/contrib/mt-daapd.conf $(1)/etc/
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/contrib/mt-daapd.playlist $(1)/etc/
+ $(INSTALL_DIR) $(1)/usr/share
$(CP) $(PKG_INSTALL_DIR)/usr/share/mt-daapd $(1)/usr/share/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/mt-daapd $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/mt-daapd.init $(1)/etc/init.d/mt-daapd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/mt-daapd.init $(1)/etc/init.d/mt-daapd
endef
$(eval $(call BuildPackage,mt-daapd))
endef
define Package/sox/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/src/{play,sox,soxmix} $(1)/usr/bin/
endef
endef
define Package/alsa-utils/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/amixer $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/alsamixer $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/aplay $(1)/usr/bin/
endef
define Package/bc/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/bc/bc $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/bc/bc $(1)/usr/bin/
endef
define Package/dc/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/dc/dc $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/dc/dc $(1)/usr/bin/
endef
$(eval $(call BuildPackage,bc))
endef
define Package/bluez-utils/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/bluetooth
+ $(INSTALL_DIR) $(1)/etc/bluetooth
$(CP) $(PKG_INSTALL_DIR)/../hcid/hcid.conf $(1)/etc/bluetooth/
$(CP) $(PKG_INSTALL_DIR)/../rfcomm/rfcomm.conf $(1)/etc/bluetooth/
install -m0700 ./files/givepin $(1)/etc/bluetooth/
endef
define Package/cifsmount/install
- install -d -m0755 $(1)/sbin
- install -m0755 $(PKG_BUILD_DIR)/mount.cifs $(1)/sbin/
+ $(INSTALL_DIR) $(1)/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/mount.cifs $(1)/sbin/
endef
$(eval $(call BuildPackage,cifsmount))
endef
define Package/collectd/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/collectd $(1)/usr/sbin/
- install -d -m0755 $(1)/usr/lib/collectd
+ $(INSTALL_DIR) $(1)/usr/lib/collectd
$(CP) $(PKG_INSTALL_DIR)/usr/lib/collectd/*.so $(1)/usr/lib/collectd/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/collectd.init $(1)/etc/init.d/collectd
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/collectd.init $(1)/etc/init.d/collectd
endef
$(eval $(call BuildPackage,collectd))
endef
define Package/deco/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/deco $(1)/usr/bin/
- install -d -m0755 $(1)/usr/lib/deco
- install -m0644 $(PKG_BUILD_DIR)/menu $(1)/usr/lib/deco/menu
- install -m0644 $(PKG_BUILD_DIR)/profile $(1)/usr/lib/deco/profile
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/deco $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/lib/deco
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/menu $(1)/usr/lib/deco/menu
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/profile $(1)/usr/lib/deco/profile
endef
$(eval $(call BuildPackage,deco))
endef
define Package/dosfstools/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dosfsck $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/fsck.{msdos,vfat} $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/mkdosfs $(1)/usr/sbin/
endef
define Package/dtach/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/dtach $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/dtach $(1)/usr/bin/
endef
$(eval $(call BuildPackage,dtach))
endef
define Package/e2fsprogs/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/e2fsck $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/mke2fs $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/mkfs.ext{2,3} $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/tune2fs $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/resize2fs $(1)/usr/sbin/
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{blkid,com_err,e2p,ext2fs,uuid}.so.* $(1)/usr/lib/
endef
endef
define Package/fetchmail/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/fetchmail $(1)/usr/bin/
endef
endef
define Package/gnupg/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/g10/gpg $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/g10/gpg $(1)/usr/bin/
endef
$(eval $(call BuildPackage,gnupg))
endef
define Package/hdparm/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/hdparm $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/hdparm $(1)/usr/sbin
endef
$(eval $(call BuildPackage,hdparm))
endef
define Package/heyu/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/heyu $(1)/usr/bin/
- install -d -m0755 $(1)/etc/$(PKG_NAME)
- install -m0644 ./files/x10.conf $(1)/etc/$(PKG_NAME)/x10.conf
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/heyu $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/etc/$(PKG_NAME)
+ $(INSTALL_DATA) ./files/x10.conf $(1)/etc/$(PKG_NAME)/x10.conf
endef
$(eval $(call BuildPackage,heyu))
endef
define Package/lcd4linux/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/lcd4linux $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/lcd4linux $(1)/usr/bin/
endef
$(eval $(call BuildPackage,lcd4linux))
endef
define Package/lilo/install
- install -d -m0755 $(1)/sbin
+ $(INSTALL_DIR) $(1)/sbin
$(CP) $(PKG_BUILD_DIR)/lilo.static $(1)/sbin/lilo
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) ./files/lilo.conf $(1)/etc/
$(CP) ./files/boot.msg $(1)/etc/
endef
endef
define Package/logrotate/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) ${PKG_BUILD_DIR}/logrotate $(1)/usr/sbin/
- install -d -m0755 $(1)/etc
+ $(INSTALL_DIR) $(1)/etc
$(CP) ./files/logrotate.conf $(1)/etc/
- install -d -m0755 $(1)/etc/logrotate.d
+ $(INSTALL_DIR) $(1)/etc/logrotate.d
endef
$(eval $(call BuildPackage,logrotate))
endef
define Package/lrzsz/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/lrz $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/lsz $(1)/usr/bin/
(cd $(1)/usr/bin; \
endef
define Package/macchanger/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/macchanger $(1)/usr/bin/
- install -d -m0755 $(1)/usr/share
+ $(INSTALL_DIR) $(1)/usr/share
$(CP) $(PKG_INSTALL_DIR)/usr/share/macchanger $(1)/usr/share/
endef
endef
define Package/mgetty/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 \
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/usr/bin/faxq \
$(PKG_INSTALL_DIR)/usr/bin/faxrm \
$(PKG_INSTALL_DIR)/usr/bin/faxrunq \
$(PKG_INSTALL_DIR)/usr/bin/pbm2g3 \
$(PKG_INSTALL_DIR)/usr/bin/sff2g3 \
$(1)/usr/bin/
- install -d -m0755 $(1)/usr/sbin
- install -m0755 \
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/usr/sbin/mgetty \
$(PKG_INSTALL_DIR)/usr/sbin/sendfax \
$(PKG_INSTALL_DIR)/usr/sbin/faxrunqd \
$(1)/usr/sbin/
- install -d -m0755 $(1)/usr/lib/mgetty+sendfax
+ $(INSTALL_DIR) $(1)/usr/lib/mgetty+sendfax
install -m4755 \
$(PKG_INSTALL_DIR)/usr/lib/mgetty+sendfax/faxq-helper \
$(1)/usr/lib/mgetty+sendfax/
$(PKG_INSTALL_DIR)/usr/lib/mgetty+sendfax/cour25n.pbm \
$(PKG_INSTALL_DIR)/usr/lib/mgetty+sendfax/cour25.pbm \
$(1)/usr/lib/mgetty+sendfax/
- install -d -m0755 $(1)/etc/mgetty+sendfax
+ $(INSTALL_DIR) $(1)/etc/mgetty+sendfax
install -m600 \
$(PKG_INSTALL_DIR)/etc/mgetty+sendfax/dialin.config \
$(PKG_INSTALL_DIR)/etc/mgetty+sendfax/faxheader \
endef
define Package/microcom/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/microcom $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/microcom $(1)/usr/bin/
endef
$(eval $(call BuildPackage,microcom))
endef
define Package/minicom/install
- install -m0755 -d $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/src/minicom $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/minicom $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,minicom))
endef
define Package/mutt/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/mutt $(1)/usr/bin/
endef
endef
define Package/nano/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/nano $(1)/usr/bin/
endef
endef
define Package/pciutils/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/{lspci,setpci} $(1)/usr/sbin/
- install -d -m0755 $(1)/usr/share
+ $(INSTALL_DIR) $(1)/usr/share
$(CP) $(PKG_BUILD_DIR)/pci.ids $(1)/usr/share/
endef
endef
define Package/picocom/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/picocom $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/picocom $(1)/usr/bin/
endef
$(eval $(call BuildPackage,picocom))
endef
define Package/pipacs/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/pipacs $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/pipacs $(1)/usr/bin/
endef
$(eval $(call BuildPackage,pipacs))
endef
define Package/procmail/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/src/procmail $(1)/usr/bin/
$(CP) $(PKG_BUILD_DIR)/src/formail $(1)/usr/bin/
endef
endef
define Package/rrdcollect/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/rrdcollect $(1)/usr/sbin/
endef
define Package/rrdcollect-example/install
- install -d -m0755 $(1)/etc
- install -m0644 ./files/rrd.conf $(1)/etc/
- install -m0644 ./files/rrdcollect.conf $(1)/etc/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/rrdcollect.init $(1)/etc/init.d/rrdcollect
- install -d -m0755 $(1)/usr/bin
- install -m0755 ./files/rrd.sh $(1)/usr/bin/
- install -d -m0755 $(1)/www/cgi-bin
+ $(INSTALL_DIR) $(1)/etc
+ $(INSTALL_DATA) ./files/rrd.conf $(1)/etc/
+ $(INSTALL_DATA) ./files/rrdcollect.conf $(1)/etc/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/rrdcollect.init $(1)/etc/init.d/rrdcollect
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) ./files/rrd.sh $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/www/cgi-bin
ln -sf /var/lib/rrdcollect/rrd.cgi $(1)/www/cgi-bin/rrd.cgi
ln -sf /var/lib/rrdcollect/img $(1)/www/img
endef
endef
define Package/rrdtool/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/rrdtool $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/rrdupdate $(1)/usr/bin/
endef
define Package/rrdcgi/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/rrdcgi $(1)/usr/bin/
endef
define Package/librrd/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/librrd.so.* $(1)/usr/lib/
- install -d -m0755 $(1)/usr/share/rrdtool/fonts
+ $(INSTALL_DIR) $(1)/usr/share/rrdtool/fonts
$(CP) $(PKG_BUILD_DIR)/src/DejaVuSansMono-Roman.ttf \
$(1)/usr/share/rrdtool/fonts/
endef
endef
define Package/rsync/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/rsync $(1)/usr/bin/
endef
endef
define Package/sane-backends/install
- install -d -m0755 $(1)/etc/sane.d
+ $(INSTALL_DIR) $(1)/etc/sane.d
$(CP) $(PKG_INSTALL_DIR)/etc/sane.d/*.conf $(1)/etc/sane.d/
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/saned $(1)/usr/sbin/
endef
define Package/sane-libs/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsane.so.* $(1)/usr/lib/
- install -d -m0755 $(1)/usr/lib/sane
+ $(INSTALL_DIR) $(1)/usr/lib/sane
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sane/libsane-*.so.* $(1)/usr/lib/sane/
endef
endef
define Package/screen/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/screen $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/screen $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,screen))
endef
define Package/setpwc/install
- install -d -m0755 $(1)/usr/bin
- install -m0755 $(PKG_BUILD_DIR)/setpwc $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/setpwc $(1)/usr/bin/
endef
$(eval $(call BuildPackage,setpwc))
endef
define Package/setserial/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/setserial $(1)/usr/sbin/
- install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/serial.init $(1)/etc/init.d/setserial
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/setserial $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/serial.init $(1)/etc/init.d/setserial
endef
$(eval $(call BuildPackage,setserial))
endef
define Package/strace/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/strace $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/strace $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,strace))
endef
define Package/usbutils/install
- install -d -m0755 $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/lsusb $(1)/usr/sbin/
- install -d -m0755 $(1)/usr/share
+ $(INSTALL_DIR) $(1)/usr/share
$(CP) $(PKG_INSTALL_DIR)/usr/share/usb.ids $(1)/usr/share/
endef
endef
define Package/vim/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
- install -d -m0755 $(1)/usr/share/vim
+ $(INSTALL_DIR) $(1)/usr/share/vim
$(CP) ./files/vimrc $(1)/usr/share/vim/
endef
endef
define Package/wx200d/install
- install -d -m0755 $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/wx200 \
$(PKG_INSTALL_DIR)/usr/bin/wxstdout \
$(PKG_INSTALL_DIR)/usr/bin/wxfilter \
$(PKG_INSTALL_DIR)/usr/bin/wxdebug \
$(1)/usr/bin/
- install -d -m0755 $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/wx200d \
$(PKG_INSTALL_DIR)/usr/sbin/wxread \
$(1)/usr/sbin/