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/cgilib/Makefile            | 7 +++++--
 package/cgilib/ipkg/cgilib.control | 7 -------
 2 files changed, 5 insertions(+), 9 deletions(-)
 delete mode 100644 package/cgilib/ipkg/cgilib.control

(limited to 'package/cgilib')

diff --git a/package/cgilib/Makefile b/package/cgilib/Makefile
index 163aad53d..6b7cd9ecf 100644
--- a/package/cgilib/Makefile
+++ b/package/cgilib/Makefile
@@ -9,11 +9,14 @@ PKG_NAME:=		cgilib
 PKG_VERSION:=		0.7
 PKG_RELEASE:=		1
 PKG_MD5SUM:=		2c7053f58dfb06f7a80a112797ed7e86
-MASTER_SITES:=		http://www.infodrom.org/projects/cgilib/download/
+PKG_DESCR:=		Simple CGI Library
+PKG_SECTION:=		libs
+PKG_URL:=		http://www.infodrom.org/projects/cgilib
+PKG_SITES:=		http://www.infodrom.org/projects/cgilib/download/
 
 include ${TOPDIR}/mk/package.mk
 
-$(eval $(call PKG_template,CGILIB,cgilib,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,CGILIB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
 CONFIGURE_STYLE:=	gnu
 BUILD_STYLE=		auto
diff --git a/package/cgilib/ipkg/cgilib.control b/package/cgilib/ipkg/cgilib.control
deleted file mode 100644
index eeed8be3a..000000000
--- a/package/cgilib/ipkg/cgilib.control
+++ /dev/null
@@ -1,7 +0,0 @@
-Package: cgilib
-Priority: optional
-Section: libs
-Description: Simple CGI Library. 
- This library provides a simple programming API to the Common Gateway
- Interface (CGI).  It features HTTP Redirect, provides read access to
- FORM variables, sets HTTP Cookies and reads them.
-- 
cgit v1.2.3