From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
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/exmap/Makefile                 | 10 ++++++----
 package/exmap/ipkg/exmap.control       |  4 ----
 package/exmap/ipkg/exmapd.control      |  4 ----
 package/exmap/ipkg/exmapserver.control |  4 ----
 package/exmap/ipkg/kmod-exmap.control  |  4 ----
 5 files changed, 6 insertions(+), 20 deletions(-)
 delete mode 100644 package/exmap/ipkg/exmap.control
 delete mode 100644 package/exmap/ipkg/exmapd.control
 delete mode 100644 package/exmap/ipkg/exmapserver.control
 delete mode 100644 package/exmap/ipkg/kmod-exmap.control

(limited to 'package/exmap')

diff --git a/package/exmap/Makefile b/package/exmap/Makefile
index c515e4573..8ce3c2bc6 100644
--- a/package/exmap/Makefile
+++ b/package/exmap/Makefile
@@ -9,16 +9,18 @@ PKG_NAME:=		exmap
 PKG_VERSION:=		0.4.1
 PKG_RELEASE:=		1
 PKG_MD5SUM:=		55aec784e214037e61400287a55b5426
+PKG_DESCR:=		memory analysing tool
+PKG_SECTION:=		utils
+PKG_SITES:=		http://labs.o-hand.com/sources/exmap-console/
 
 DISTFILES:=		${PKG_NAME}-console-${PKG_VERSION}.tgz
-MASTER_SITES:=		http://labs.o-hand.com/sources/exmap-console/
 WRKDIST=		${WRKDIR}/${PKG_NAME}-console-${PKG_VERSION}
 
 include ${TOPDIR}/mk/package.mk
 
-$(eval $(call PKG_template,EXMAP,exmap,${PKG_VERSION}-${PKG_RELEASE}))
-$(eval $(call PKG_template,EXMAPD,exmapd,${PKG_VERSION}-${PKG_RELEASE}))
-$(eval $(call PKG_template,EXMAPSERVER,exmapserver,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,EXMAP,exmap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,EXMAPD,exmapd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,EXMAPSERVER,exmapserver,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 $(eval $(call PKG_template,KMOD_EXMAP,kmod-exmap,${KERNEL_VERSION}+${PKG_VERSION}-${DEVICE}-${PKG_RELEASE},kernel (${KERNEL_VERSION}-${DEVICE}-${KERNEL_RELEASE})))
 
 CONFIGURE_STYLE:=	gnu
diff --git a/package/exmap/ipkg/exmap.control b/package/exmap/ipkg/exmap.control
deleted file mode 100644
index 23c51313a..000000000
--- a/package/exmap/ipkg/exmap.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: exmap
-Priority: optional
-Section: utils
-Description: memory analysing tool
diff --git a/package/exmap/ipkg/exmapd.control b/package/exmap/ipkg/exmapd.control
deleted file mode 100644
index dbfe932a8..000000000
--- a/package/exmap/ipkg/exmapd.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: exmapd
-Priority: optional
-Section: utils
-Description: memory analysing tool
diff --git a/package/exmap/ipkg/exmapserver.control b/package/exmap/ipkg/exmapserver.control
deleted file mode 100644
index 8d33fb53a..000000000
--- a/package/exmap/ipkg/exmapserver.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: exmapserver
-Priority: optional
-Section: utils
-Description: memory analysing tool
diff --git a/package/exmap/ipkg/kmod-exmap.control b/package/exmap/ipkg/kmod-exmap.control
deleted file mode 100644
index afae49276..000000000
--- a/package/exmap/ipkg/kmod-exmap.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: kmod-exmap
-Priority: optional
-Section: utils
-Description: kernel module for a memory analysing tool
-- 
cgit v1.2.3