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

(limited to 'package/readline')

diff --git a/package/readline/Makefile b/package/readline/Makefile
index 87795c87d..bdc05960e 100644
--- a/package/readline/Makefile
+++ b/package/readline/Makefile
@@ -9,11 +9,14 @@ PKG_NAME:=		readline
 PKG_VERSION:=		5.2
 PKG_RELEASE:=		1
 PKG_MD5SUM:=		e39331f32ad14009b9ff49cc10c5e751
-MASTER_SITES:=		${MASTER_SITE_GNU:=readline/}
+PKG_DESCR:=		Command line editing library
+PKG_SECTION:=		libs
+PKG_DEPENDS:=		libncurses
+PKG_SITES:=		${MASTER_SITE_GNU:=readline/}
 
 include ${TOPDIR}/mk/package.mk
 
-$(eval $(call PKG_template,LIBREADLINE,libreadline,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,LIBREADLINE,libreadline,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
 CONFIGURE_STYLE:=	gnu
 CONFIGURE_ARGS+= 	--with-curses
diff --git a/package/readline/ipkg/libreadline.control b/package/readline/ipkg/libreadline.control
deleted file mode 100644
index 39946d6a2..000000000
--- a/package/readline/ipkg/libreadline.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: libreadline
-Priority: optional
-Section: libs
-Depends: libncurses
-Description: Command lines edition library
-- 
cgit v1.2.3