2 # Copyright (C) 2007-2008 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
14 PKG_VERSION
:=0.8.4_r
$(PKG_REV
)
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=svn
://rakshasa.no
/libtorrent
/trunk
/rtorrent
18 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_SOURCE_VERSION
:=$(PKG_REV
)
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/rtorrent
30 TITLE
:=BitTorrent client for ncurses
31 URL
:=http
://libtorrent.rakshasa.no
/
32 DEPENDS
:=+libcurl
+libtorrent
+libncurses
+libsigcxx
+xmlrpc-c
35 define Package
/rtorrent
/description
36 rTorrent is a BitTorrent client for ncurses
, using the libtorrent library.
37 The client and library are written in C
++ with emphasis on speed and
38 efficiency
, while delivering equivalent features to those found in GUI
39 based clients in an ncurses client.
43 -fno-strict-aliasing
-fno-inline \
51 define Build
/Configure
52 (cd
$(PKG_BUILD_DIR
); .
/autogen.sh
);
53 $(call Build
/Configure
/Default
)
57 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
58 DESTDIR
="$(PKG_INSTALL_DIR)" \
62 define Package
/rtorrent
/install
63 $(INSTALL_DIR
) $(1)/usr
/bin
64 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/rtorrent
$(1)/usr
/bin
/
67 $(eval
$(call BuildPackage
,rtorrent
))