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
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/ctorrent
25 DEPENDS
:=+libopenssl
+uclibcxx
26 TITLE
:=console-based BitTorrent client
27 URL
:=http
://www.rahul.net
/dholmes
/ctorrent
/
30 define Package
/ctorrent
/description
31 CTorrent is a BitTorrent client written in the C programming language
,
32 known to be a very robust and mature programming language
, which produces
33 fast and optimized application.
37 CPPFLAGS
="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
38 CXXFLAGS
="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
39 LIBS
="-nodefaultlibs -lcrypto -luClibc++ -lm"
41 define Package
/ctorrent
/install
42 $(INSTALL_DIR
) $(1)/usr
/bin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/bin
/
46 $(eval
$(call BuildPackage
,ctorrent
))