diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
commit | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch) | |
tree | 10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/busybox/Makefile | |
parent | bbd610f15a71b27c955175cb98392b114717fd47 (diff) |
optimize ipkg package management
- generate ipkg control file from PKG_* variables
- automatically install init scripts from ./files/*.init
set #PKG pkgname to set the binary package
- rename FWINIT -> INIT
- move postinst and conffiles meta data to ./files
- update the packages to the latest upstream version
- remove some unready or unused package (strongswan,..)
more cleanups needed after allmodconfig
Diffstat (limited to 'package/busybox/Makefile')
-rw-r--r-- | package/busybox/Makefile | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile index e8edcd12b..94f756c8b 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -9,14 +9,14 @@ PKG_NAME:= busybox PKG_VERSION:= 1.13.4 PKG_RELEASE:= 1 PKG_MD5SUM:= 6f86b4aa466f4b492c9468ba9500976a -MASTER_SITES:= http://www.busybox.net/downloads/ +PKG_DESCR:= Core utilities for embedded Linux systems +PKG_SECTION:= base +PKG_URL:= http://www.busybox.net +PKG_SITES:= http://www.busybox.net/downloads/ include $(TOPDIR)/mk/package.mk -$(eval $(call PKG_template,BUSYBOX,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE))) - -#rebuild: -# @rm $(WRKBUILD)/.configure_done +$(eval $(call PKG_template,BUSYBOX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) do-configure: grep BUSYBOX_ $(TOPDIR)/.config|sed -e 's/BUSYBOX_/CONFIG_/' > \ @@ -56,14 +56,5 @@ ifeq ($(DEBUG),1) $(IDIR_BUSYBOX)/bin/busybox endif $(CP) $(WRKINST)/* $(IDIR_BUSYBOX)/ - $(INSTALL_DIR) $(IDIR_BUSYBOX)/etc/init.d/ - $(INSTALL_BIN) ./files/syslog.init \ - $(IDIR_BUSYBOX)/etc/init.d/syslog - $(INSTALL_BIN) ./files/network.init \ - $(IDIR_BUSYBOX)/etc/init.d/network - $(INSTALL_BIN) ./files/crond.init \ - $(IDIR_BUSYBOX)/etc/init.d/crond - ${INSTALL_BIN} files/inetd.init \ - ${IDIR_BUSYBOX}/etc/init.d/inetd include ${TOPDIR}/mk/pkg-bottom.mk |