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

(limited to 'package/lynx')

diff --git a/package/lynx/Makefile b/package/lynx/Makefile
index aee2812e7..e51227fea 100644
--- a/package/lynx/Makefile
+++ b/package/lynx/Makefile
@@ -9,17 +9,22 @@ PKG_NAME=		lynx
 PKG_VERSION=		2.8.7dev.7
 PKG_RELEASE=		1
 PKG_MD5SUM=		83891107c873421e5ac917cc0ab53fe8
-MASTER_SITES=		http://lynx.isc.org/current/ \
+PKG_DESCR:=		Standard text browser
+PKG_SECTION:=		text
+PKG_DEPENDS:=		libncurses libopenssl
+PKG_URL:=		http://lynx.isc.org
+PKG_SITES=		http://lynx.isc.org/current/ \
 			${MASTER_SITE_MIRBSD}
+
 DISTFILES=		${PKG_NAME}${PKG_VERSION}.tar.gz
 WRKDIST=		${WRKDIR}/lynx2-8-7
 
 include ${TOPDIR}/mk/package.mk
 
-$(eval $(call PKG_template,LYNX,lynx,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,LYNX,lynx,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
 CONFIGURE_STYLE=	gnu
-TCPPFLAGS+=		-DLYNX_VERSION=\"${PKG_VERSION}-OpenADK-${PKG_RELEASE}\"
+TCPPFLAGS+=		-DLYNX_VERSION=\"${PKG_VERSION}-${PKG_RELEASE}\"
 # do not hardcode paths; do not scan for ports stuff
 CONFIGURE_ENV+=		ac_cv_path_TELNET=telnet \
 			ac_cv_path_TN3270=tn3270 \
diff --git a/package/lynx/ipkg/lynx.control b/package/lynx/ipkg/lynx.control
deleted file mode 100644
index 7ee22ce73..000000000
--- a/package/lynx/ipkg/lynx.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: lynx
-Priority: base
-Section: www
-Description: Standard text browser
-Depends: libncurses, libopenssl
-- 
cgit v1.2.3