summaryrefslogtreecommitdiff
path: root/package/ndisc
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/ndisc
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/ndisc')
-rw-r--r--package/ndisc/Makefile13
-rw-r--r--package/ndisc/ipkg/ndisc6.control4
-rw-r--r--package/ndisc/ipkg/rdisc6.control4
-rw-r--r--package/ndisc/ipkg/tcptraceroute6.control4
4 files changed, 8 insertions, 17 deletions
diff --git a/package/ndisc/Makefile b/package/ndisc/Makefile
index d56bf80e3..8a378af46 100644
--- a/package/ndisc/Makefile
+++ b/package/ndisc/Makefile
@@ -9,20 +9,23 @@ PKG_NAME:= ndisc6
PKG_VERSION:= 0.9.8
PKG_RELEASE:= 1
PKG_MD5SUM:= cb8d70564b8d40aae95e19592c6be183
-MASTER_SITES:= http://www.remlab.net/files/ndisc6/
+PKG_DESCR:= ICMPv6 Neighbour Discovery tools
+PKG_SECTION:= net
+PKG_URL:= http://www.remlab.net
+PKG_SITES:= http://www.remlab.net/files/ndisc6/
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,NDISC6,ndisc6,${PKG_VERSION}-${PKG_RELEASE}))
-$(eval $(call PKG_template,RDISC6,rdisc6,${PKG_VERSION}-${PKG_RELEASE}))
-$(eval $(call PKG_template,TCPTRACEROUTE6,tcptraceroute6,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,NDISC6,ndisc6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,RDISC6,rdisc6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,TCPTRACEROUTE6,tcptraceroute6,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
BUILD_STYLE:= auto
INSTALL_STYLE:= auto
MAKE_FLAGS+= CC="${TARGET_CC}"
-TCLFAGS+= -std=c99
post-install:
${INSTALL_DIR} ${IDIR_NDISC6}/usr/bin
diff --git a/package/ndisc/ipkg/ndisc6.control b/package/ndisc/ipkg/ndisc6.control
deleted file mode 100644
index 40b935e91..000000000
--- a/package/ndisc/ipkg/ndisc6.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: ndisc6
-Priority: optional
-Section: net
-Description: ICMPv6 Neighbour Discovery tool
diff --git a/package/ndisc/ipkg/rdisc6.control b/package/ndisc/ipkg/rdisc6.control
deleted file mode 100644
index 4724d6914..000000000
--- a/package/ndisc/ipkg/rdisc6.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: rdisc6
-Priority: optional
-Section: net
-Description: ICMPv6 Router Discovery tool
diff --git a/package/ndisc/ipkg/tcptraceroute6.control b/package/ndisc/ipkg/tcptraceroute6.control
deleted file mode 100644
index 625fe80c1..000000000
--- a/package/ndisc/ipkg/tcptraceroute6.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: tcptraceroute6
-Priority: optional
-Section: net
-Description: A TCP/IPv6-based traceroute implementation