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/libdnet | |
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/libdnet')
-rw-r--r-- | package/libdnet/Makefile | 8 | ||||
-rw-r--r-- | package/libdnet/ipkg/libdnet.control | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/package/libdnet/Makefile b/package/libdnet/Makefile index f7e53890c..d96404c10 100644 --- a/package/libdnet/Makefile +++ b/package/libdnet/Makefile @@ -9,11 +9,14 @@ PKG_NAME:= libdnet PKG_VERSION:= 1.10 PKG_RELEASE:= 1 PKG_MD5SUM:= 416b765e9d9961501ac85e9a366fd219 -MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=$(PKG_NAME)/} +PKG_DESCR:= a low-level networking library +PKG_SECTION:= libs +PKG_URL:= http://libdnet.sourceforge.net/ +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=$(PKG_NAME)/} include $(TOPDIR)/mk/package.mk -$(eval $(call PKG_template,LIBDNET,libdnet,$(PKG_VERSION)-$(PKG_RELEASE))) +$(eval $(call PKG_template,LIBDNET,libdnet,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE= gnu CONFIGURE_ENV+= ac_cv_dnet_bsd_bpf=no @@ -25,6 +28,5 @@ post-install: $(INSTALL_DIR) $(IDIR_LIBDNET)/usr/lib $(INSTALL_DIR) $(IDIR_LIBDNET)/usr/sbin $(CP) $(WRKINST)/usr/lib/libdnet.so.* $(IDIR_LIBDNET)/usr/lib/ - $(INSTALL_BIN) $(WRKINST)/usr/sbin/dnet $(IDIR_LIBDNET)/usr/sbin/ include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libdnet/ipkg/libdnet.control b/package/libdnet/ipkg/libdnet.control deleted file mode 100644 index cb7c6ac67..000000000 --- a/package/libdnet/ipkg/libdnet.control +++ /dev/null @@ -1,4 +0,0 @@ -Package: libdnet -Priority: optional -Section: libs -Description: a low-level networking library |