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/httping/Makefile | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'package/httping/Makefile') diff --git a/package/httping/Makefile b/package/httping/Makefile index eadc97d79..64ebd15f6 100644 --- a/package/httping/Makefile +++ b/package/httping/Makefile @@ -6,29 +6,25 @@ include ${TOPDIR}/rules.mk PKG_NAME:= httping -PKG_VERSION:= 1.2.3 +PKG_VERSION:= 1.3.0 PKG_RELEASE:= 1 -PKG_MD5SUM:= b257586da8acec18185c134ed86d2fdd -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz -MASTER_SITES:= http://www.vanheusden.com/httping/ +PKG_MD5SUM:= 41c912a9ecc904e51d7260053fc2195c +PKG_DESCR:= Httping is like 'ping' but for http-requests +PKG_SECTION:= net +PKG_DEPENDS:= libopenssl +PKG_SITES:= http://www.vanheusden.com/httping/ -PKG_DEPEND=libopenssl -ifneq (${ADK_PACKAGE_HTTPING_WITH_SSL},y) -SSL_ENABLE:=".nossl" -PKG_DEPEND:="" -endif +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,HTTPING,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,HTTPING,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -do-build: - ${MAKE} -C ${WRKBUILD} -f ${WRKBUILD}/Makefile${SSL_ENABLE} \ - CC="${TARGET_CC}" STAGING_DIR=${STAGING_DIR} +MAKE_FLAGS+= STAGING_DIR=${STAGING_DIR} +BUILD_STYLE:= auto do-install: ${INSTALL_DIR} ${IDIR_HTTPING}/usr/sbin - echo "Depends: ${PKG_DEPEND}" >> ${IDIR_HTTPING}/CONTROL/control ${CP} ${WRKBUILD}/${PKG_NAME} ${IDIR_HTTPING}/usr/sbin/ include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3