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/siproxd/Makefile | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'package/siproxd/Makefile') diff --git a/package/siproxd/Makefile b/package/siproxd/Makefile index 425bfd493..f2fe5c3f2 100644 --- a/package/siproxd/Makefile +++ b/package/siproxd/Makefile @@ -6,26 +6,27 @@ include ${TOPDIR}/rules.mk PKG_NAME:= siproxd -PKG_VERSION:= 0.5.12 -PKG_RELEASE:= 8 -PKG_MD5SUM:= 2fa02bd6f83070593bfc2d383ce614fa -MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=siproxd/} +PKG_VERSION:= 0.7.1 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 45e5a44803181e2bf3361d562060c904 +PKG_DESCR:= a SIP (Session Initiation Protocol) proxy +PKG_SECTION:= net +PKG_DEPENDS:= libosip2 libpthread +PKG_URL:= http://siproxd.sourceforge.net +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=siproxd/} include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,SIPROXD,siproxd,${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,SIPROXD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE:= gnu BUILD_STYLE:= auto INSTALL_STYLE:= auto post-install: - ${INSTALL_DIR} ${IDIR_SIPROXD}/etc/init.d - ${INSTALL_DIR} ${IDIR_SIPROXD}/usr/sbin + ${INSTALL_DIR} ${IDIR_SIPROXD}/usr/sbin ${IDIR_SIPROXD}/etc ${INSTALL_DATA} ${WRKINST}/etc/siproxd.conf.example ${IDIR_SIPROXD}/etc/siproxd.conf ${INSTALL_DATA} ${WRKINST}/etc/siproxd_passwd.cfg ${IDIR_SIPROXD}/etc/ - ${INSTALL_BIN} files/siproxd.init \ - ${IDIR_SIPROXD}/etc/init.d/siproxd ${INSTALL_BIN} ${WRKINST}/usr/sbin/siproxd ${IDIR_SIPROXD}/usr/sbin/ include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3