summaryrefslogtreecommitdiff
path: root/package/zlib
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/zlib
parentbbd610f15a71b27c955175cb98392b114717fd47 (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/zlib')
-rw-r--r--package/zlib/Makefile10
-rw-r--r--package/zlib/ipkg/zlib.control4
2 files changed, 7 insertions, 7 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index c63f92b63..4e3cc79cb 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -9,13 +9,17 @@ PKG_NAME:= zlib
PKG_VERSION:= 1.2.3
PKG_RELEASE:= 5
PKG_MD5SUM:= dee233bf288ee795ac96a98cc2e369b6
-MASTER_SITES:= http://www.zlib.net/ \
+PKG_DESCR:= implementation of the deflate compression method (library)
+PKG_SECTION:= libs
+PKG_URL:= http://www.zlib.net
+PKG_SITES:= http://www.zlib.net/ \
${MASTER_SITE_SOURCEFORGE:=zlib/}
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,ZLIB,zlib,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,ZLIB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE= manual
BUILD_STYLE= auto
@@ -35,6 +39,6 @@ do-configure:
post-install:
${INSTALL_DIR} ${IDIR_ZLIB}/usr/lib
- cd ${WRKBUILD} && ${CP} libz.so* ${IDIR_ZLIB}/usr/lib
+ ${CP} ${WRKBUILD}/libz.so* ${IDIR_ZLIB}/usr/lib
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/zlib/ipkg/zlib.control b/package/zlib/ipkg/zlib.control
deleted file mode 100644
index 35fcac26e..000000000
--- a/package/zlib/ipkg/zlib.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: zlib
-Priority: optional
-Section: libs
-Description: an implementation of the deflate compression method (library)