2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.rahul.net
/dholmes
/ctorrent
/
17 PKG_MD5SUM
:=23b37cd7b558ad6a27974b311499bab6
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/ctorrent
27 DEPENDS
:=+libopenssl
+uclibcxx
28 TITLE
:=console-based BitTorrent client
29 URL
:=http
://www.rahul.net
/dholmes
/ctorrent
/
32 define Package
/ctorrent
/description
33 CTorrent is a BitTorrent client written in the C programming language
,
34 known to be a very robust and mature programming language
, which produces
35 fast and optimized application.
40 CXXFLAGS
="$$$$CXXFLAGS -fno-rtti" \
43 $(MAKE
) -C
$(PKG_BUILD_DIR
) DESTDIR
="$(PKG_INSTALL_DIR)" all install
46 define Package
/ctorrent
/install
47 $(INSTALL_DIR
) $(1)/usr
/bin
48 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/bin
/
51 $(eval
$(call BuildPackage
,ctorrent
))