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

(limited to 'package/ctorrent')

diff --git a/package/ctorrent/Makefile b/package/ctorrent/Makefile
index c9cf60739..44436bb7f 100755
--- a/package/ctorrent/Makefile
+++ b/package/ctorrent/Makefile
@@ -9,17 +9,22 @@ PKG_NAME:=		ctorrent
 PKG_VERSION:=		1.3.4-dnh2
 PKG_RELEASE:=		2
 PKG_MD5SUM:=		6635e2d0d0ee21faeb85d95cd93c137b
-MASTER_SITES:=		http://www.rahul.net/dholmes/ctorrent/
+PKG_DESCR:=		console-based BitTorrent client
+PKG_SECTION:=		net
+PKG_URL:=		http://www.rahul.net/dholmes/ctorrent
+PKG_SITES:=		http://www.rahul.net/dholmes/ctorrent/
+
 WRKDIST=		${WRKDIR}/${PKG_NAME}-dnh2
+
 ifeq ($(ADK_COMPILE_CTORRENT_WITH_UCLIBCXX),y)
-PKG_DEPEND:=            uclibc++
+PKG_DEPENDS:=            uclibc++
 else
-PKG_DEPEND:=            libstdcxx
+PKG_DEPENDS:=            libstdcxx
 endif
 
 include ${TOPDIR}/mk/package.mk
 
-$(eval $(call PKG_template,CTORRENT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPEND}))
+$(eval $(call PKG_template,CTORRENT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
 ifeq ($(ADK_COMPILE_CTORRENT_WITH_UCLIBCXX),y)
 TCXXFLAGS+=		-fno-builtin -fno-rtti -nostdinc++
diff --git a/package/ctorrent/ipkg/ctorrent.control b/package/ctorrent/ipkg/ctorrent.control
deleted file mode 100644
index 0b7d1d59e..000000000
--- a/package/ctorrent/ipkg/ctorrent.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: ctorrent
-Priority: optional
-Section: net
-Description: console-based BitTorrent client
-- 
cgit v1.2.3