From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: 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 --- package/fping/Makefile | 12 ++++++++---- package/fping/ipkg/fping.control | 4 ---- 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 package/fping/ipkg/fping.control (limited to 'package/fping') 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 diff --git a/package/fping/ipkg/fping.control b/package/fping/ipkg/fping.control deleted file mode 100644 index 964c8dbf2..000000000 --- a/package/fping/ipkg/fping.control +++ /dev/null @@ -1,4 +0,0 @@ -Package: fping -Priority: optional -Section: net -Description: A program to ping hosts in parallel -- cgit v1.2.3