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/tcp_wrappers/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/tcp_wrappers/Makefile')
-rw-r--r-- | package/tcp_wrappers/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/package/tcp_wrappers/Makefile b/package/tcp_wrappers/Makefile index ce3c80c1e..69a701849 100644 --- a/package/tcp_wrappers/Makefile +++ b/package/tcp_wrappers/Makefile @@ -9,13 +9,16 @@ PKG_NAME:= tcp_wrappers PKG_VERSION:= 7.6 PKG_RELEASE:= 1 PKG_MD5SUM:= e6fa25f71226d090f34de3f6b122fb5a -MASTER_SITES:= ftp://ftp.porcupine.org/pub/security/ +PKG_DESCR:= IP based access control +PKG_SECTION:= net +PKG_SITES:= ftp://ftp.porcupine.org/pub/security/ + DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION} include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,LIBWRAP,libwrap,${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,LIBWRAP,libwrap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) BUILD_STYLE:= auto ALL_TARGET:= tidy all @@ -33,8 +36,7 @@ MAKE_FLAGS+= OPT_CFLAGS="${TARGET_CFLAGS}" \ STYLE="-DPROCESS_OPTIONS" \ do-install: - ${INSTALL_DIR} ${IDIR_LIBWRAP}/usr/lib - ${INSTALL_DIR} ${IDIR_LIBWRAP}/usr/include + ${INSTALL_DIR} ${IDIR_LIBWRAP}/usr/lib ${IDIR_LIBWRAP}/usr/include ${CP} ${WRKBUILD}/shared/libwrap.so.* ${IDIR_LIBWRAP}/usr/lib/ ${CP} ${WRKBUILD}/tcpd.h ${IDIR_LIBWRAP}/usr/include/ ${INSTALL_DIR} ${WRKINST}/usr/lib |