source: packages/net/rtorrent/Makefile @ 21299

Last change on this file since 21299 was 21299, checked in by florian, 7 years ago

[package] update rtorrent to 0.8.6 (#7252)

  • Property svn:copyright set to Copyright (C) 2007-2008 OpenWrt.org
  • Property svn:eol-style set to native
  • Property svn:licence set to GPLv2
File size: 1.6 KB
Line 
1#
2# Copyright (C) 2007-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7#
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=rtorrent
12PKG_REV:=1165
13PKG_VERSION:=0.8.6_r$(PKG_REV)
14PKG_RELEASE:=1
15
16PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17PKG_SOURCE_URL:=svn://rakshasa.no/libtorrent/trunk/rtorrent
18PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19PKG_SOURCE_VERSION:=$(PKG_REV)
20PKG_SOURCE_PROTO:=svn
21
22PKG_FIXUP:=libtool
23PKG_INSTALL:=1
24
25include $(INCLUDE_DIR)/package.mk
26
27define Package/rtorrent
28  SUBMENU:=BitTorrent
29  SECTION:=net
30  CATEGORY:=Network
31  TITLE:=BitTorrent client for ncurses
32  URL:=http://libtorrent.rakshasa.no/
33  DEPENDS:=+libcurl +libtorrent +libncurses +libsigcxx +xmlrpc-c +libpthread
34endef
35
36define Package/rtorrent/description
37 rTorrent is a BitTorrent client for ncurses, using the libtorrent library.
38 The client and library are written in C++ with emphasis on speed and
39 efficiency, while delivering equivalent features to those found in GUI
40 based clients in an ncurses client.
41endef
42
43ifneq ($(CONFIG_GCC_VERSION_3_4)$(CONFIG_GCC_VERSION_4_1),)
44TARGET_CPPFLAGS += -fno-strict-aliasing
45endif
46
47TARGET_LDFLAGS += -lpthread
48
49CONFIGURE_ARGS+= \
50        --enable-shared \
51        --disable-static \
52        --disable-debug \
53        --with-xmlrpc-c \
54
55define Build/Configure
56        (cd $(PKG_BUILD_DIR); ./autogen.sh );
57        $(call Build/Configure/Default)
58endef
59
60define Package/rtorrent/install
61        $(INSTALL_DIR) $(1)/usr/bin
62        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtorrent $(1)/usr/bin/
63endef
64
65$(eval $(call BuildPackage,rtorrent))
Note: See TracBrowser for help on using the repository browser.