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/shorewall-shell | |
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/shorewall-shell')
-rw-r--r-- | package/shorewall-shell/Makefile | 10 | ||||
-rw-r--r-- | package/shorewall-shell/ipkg/shorewall-shell.control | 5 |
2 files changed, 6 insertions, 9 deletions
diff --git a/package/shorewall-shell/Makefile b/package/shorewall-shell/Makefile index c81a768dc..54611e247 100644 --- a/package/shorewall-shell/Makefile +++ b/package/shorewall-shell/Makefile @@ -9,12 +9,16 @@ PKG_NAME:= shorewall-shell PKG_VERSION:= 4.0.14.1 PKG_RELEASE:= 1 PKG_MD5SUM:= ab61c2f3db82382351f432f783980fa7 -MASTER_SITES:= http://www1.shorewall.net/pub/shorewall/4.0/shorewall-4.0.14/ +PKG_DESCR:= shell compiler for shorewall +PKG_SECTION:= net +PKG_URL:= http://www.shorewall.net +PKG_SITES:= http://www1.shorewall.net/pub/shorewall/4.0/shorewall-4.0.14/ + DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,SHOREWALL_SHELL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,SHOREWALL_SHELL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) do-install: PREFIX="${WRKINST}" ${WRKBUILD}/install.sh -n @@ -25,11 +29,9 @@ endif post-install: ${INSTALL_DIR} ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME} - ${INSTALL_DATA} ${WRKINST}/usr/share/${PKG_NAME}/version ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/ ${INSTALL_DATA} ${WRKINST}/usr/share/${PKG_NAME}/lib.* ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/ ${INSTALL_DATA} ${WRKINST}/usr/share/${PKG_NAME}/prog.* ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/ - ${INSTALL_BIN} ${WRKINST}/usr/share/${PKG_NAME}/compiler ${IDIR_SHOREWALL_SHELL}/usr/share/${PKG_NAME}/ include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/shorewall-shell/ipkg/shorewall-shell.control b/package/shorewall-shell/ipkg/shorewall-shell.control deleted file mode 100644 index 7745b88fb..000000000 --- a/package/shorewall-shell/ipkg/shorewall-shell.control +++ /dev/null @@ -1,5 +0,0 @@ -Package: shorewall-shell -Priority: optional -Section: net -Depends: shorewall-common -Description: shell compiler for shorewall |