summaryrefslogtreecommitdiff
path: root/package/igmpproxy
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/igmpproxy
parentbbd610f15a71b27c955175cb98392b114717fd47 (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/igmpproxy')
-rw-r--r--package/igmpproxy/Makefile27
-rw-r--r--package/igmpproxy/ipkg/igmpproxy.control4
2 files changed, 14 insertions, 17 deletions
diff --git a/package/igmpproxy/Makefile b/package/igmpproxy/Makefile
index 90ff81152..995f70d15 100644
--- a/package/igmpproxy/Makefile
+++ b/package/igmpproxy/Makefile
@@ -6,24 +6,25 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= igmpproxy
-PKG_VERSION:= 0.1-beta2
+PKG_VERSION:= 0.1_beta4
PKG_RELEASE:= 1
-PKG_MD5SUM:= 2a5a59480f44d4b14077a6b5319e9940
-DISTFILES:= ${PKG_NAME}-src-${PKG_VERSION}.tar.gz
-MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=igmpproxy/}
-WRKDIST= ${WRKDIR}/${PKG_NAME}
+PKG_MD5SUM:= 0a16178aeca5d1bf54c129cec9597f85
+PKG_DESCR:= IGMPproxy is a simple dynamic Multicast Routing Daemon
+PKG_SECTION:= net
+PKG_URL:= http://sourceforge.net/projects/igmpproxy
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=igmpproxy/}
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,IGMPPROXY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,IGMPPROXY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-do-build:
- ${MAKE} CC="${TARGET_CC}" CFLAGS="${TARGET_CFLAGS}" -C ${WRKBUILD}/src
+CONFIGURE_STYLE:= gnu
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
-do-install:
- ${INSTALL_DIR} ${IDIR_IGMPPROXY}/usr/sbin
- ${INSTALL_DIR} ${IDIR_IGMPPROXY}/etc
- ${INSTALL_BIN} ${WRKBUILD}/src/${PKG_NAME} ${IDIR_IGMPPROXY}/usr/sbin/
- ${INSTALL_DATA} ${WRKBUILD}/src/${PKG_NAME}.conf ${IDIR_IGMPPROXY}/etc
+post-install:
+ ${INSTALL_DIR} ${IDIR_IGMPPROXY}/usr/sbin ${IDIR_IGMPPROXY}/etc
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/${PKG_NAME} ${IDIR_IGMPPROXY}/usr/sbin/
+ ${INSTALL_DATA} ${WRKINST}/etc/${PKG_NAME}.conf ${IDIR_IGMPPROXY}/etc
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/igmpproxy/ipkg/igmpproxy.control b/package/igmpproxy/ipkg/igmpproxy.control
deleted file mode 100644
index 26bfe1563..000000000
--- a/package/igmpproxy/ipkg/igmpproxy.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: igmpproxy
-Section: net
-Priority: optional
-Description: IGMPproxy is a simple dynamic Multicast Routing Daemon.