summaryrefslogtreecommitdiff
path: root/package/ctorrent
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/ctorrent
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
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
Diffstat (limited to 'package/ctorrent')
-rwxr-xr-xpackage/ctorrent/Makefile13
-rw-r--r--package/ctorrent/ipkg/ctorrent.control4
2 files changed, 9 insertions, 8 deletions
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