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