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/wccpd/Makefile | 9 +++++---- package/wccpd/ipkg/wccpd.control | 4 ---- 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 package/wccpd/ipkg/wccpd.control (limited to 'package/wccpd') diff --git a/package/wccpd/Makefile b/package/wccpd/Makefile index 47ac046d8..143545bf2 100644 --- a/package/wccpd/Makefile +++ b/package/wccpd/Makefile @@ -9,12 +9,13 @@ PKG_NAME:= wccpd PKG_VERSION:= 0.2 PKG_RELEASE:= 2 PKG_MD5SUM:= 5f15c274de61dfb88e0dbfc1ccbe6b67 - -MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=wccpd/} +PKG_DESCR:= A WCCP (Web Cache Coordination Protocol) server daemon +PKG_SECTION:= net +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=wccpd/} include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,WCCPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,WCCPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE:= gnu CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes @@ -24,7 +25,7 @@ BUILD_STYLE:= auto INSTALL_STYLE:= auto post-install: - ${INSTALL_DIR} ${IDIR_WCCPD}/usr/sbin/ + ${INSTALL_DIR} ${IDIR_WCCPD}/usr/sbin ${INSTALL_BIN} ${WRKINST}/usr/sbin/wccpd ${IDIR_WCCPD}/usr/sbin/ include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/wccpd/ipkg/wccpd.control b/package/wccpd/ipkg/wccpd.control deleted file mode 100644 index e62539a7d..000000000 --- a/package/wccpd/ipkg/wccpd.control +++ /dev/null @@ -1,4 +0,0 @@ -Package: wccpd -Priority: optional -Section: net -Description: A WCCP (Web Cache Coordination Protocol) server daemon -- cgit v1.2.3