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/fping/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/fping/Makefile')
-rw-r--r-- | package/fping/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/package/fping/Makefile b/package/fping/Makefile index 7b794d5aa..212b5ee51 100644 --- a/package/fping/Makefile +++ b/package/fping/Makefile @@ -9,20 +9,24 @@ PKG_NAME:= fping PKG_VERSION:= 2.4b2_to PKG_RELEASE:= 1 PKG_MD5SUM:= d5e8be59e307cef76bc479e1684df705 +PKG_DESCR:= A program to ping hosts in parallel +PKG_SECTION:= net +PKG_URL:= http://fping.sourceforge.net +PKG_SITES:= http://fping.sourceforge.net/download/ + DISTFILES:= ${PKG_NAME}.tar.gz -MASTER_SITES:= http://fping.sourceforge.net/download/ include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,FPING,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,FPING,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE= gnu do-build: - ${MAKE} -j1 CC="${TARGET_CC}" CFLAGS="${TARGET_CFLAGS}" -C ${WRKBUILD} clean ${PKG_NAME} + ${MAKE} CC="${TARGET_CC}" CFLAGS="${TARGET_CFLAGS}" -C ${WRKBUILD} clean ${PKG_NAME} mv ${WRKBUILD}/${PKG_NAME} ${WRKBUILD}/${PKG_NAME}4 ifeq ($(ADK_IPV6),y) - ${MAKE} -j1 CC="${TARGET_CC}" CFLAGS="${TARGET_CFLAGS} -DIPV6=1" -C ${WRKBUILD} clean ${PKG_NAME} + ${MAKE} CC="${TARGET_CC}" CFLAGS="${TARGET_CFLAGS} -DIPV6=1" -C ${WRKBUILD} clean ${PKG_NAME} mv ${WRKBUILD}/${PKG_NAME} ${WRKBUILD}/${PKG_NAME}6 endif |