2 # Copyright (C) 2009 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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.murmeldjur.se
/btpd
/
16 PKG_MD5SUM
:=b64e2e8b9936e99685bc1e7246655561
18 include $(INCLUDE_DIR
)/package.mk
25 TITLE
:=btpd
- BitTorrent Protocol Daemon
26 URL
:=http
://www.murmeldjur.se
/btpd
/
29 define Package
/btpd
/description
30 BTPD is a bittorrent client consisting of a daemon and client commands
,
31 which can be used to read and
/or manipulate the daemon state.
32 The daemon is capable of running several torrents simultaneously and only uses one tcp port.
33 It
's fairly low on resource usage and should be perfect for file distribution sites.
34 Efficient downloads and ease of use makes this client a good choice for the casual user as well.
37 CONFIGURE_ARGS += -C --with-evloop-method=poll
39 define Package/btpd/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/btpd/btpd $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cli/btcli $(1)/usr/bin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cli/btinfo $(1)/usr/bin
44 $(INSTALL_DIR) $(1)/etc/init.d
45 $(INSTALL_BIN) ./files/btpd.init $(1)/etc/init.d/btpd
46 $(INSTALL_DIR) $(1)/etc/config
47 $(INSTALL_CONF) ./files/btpd.config $(1)/etc/config/btpd
50 $(eval $(call BuildPackage,btpd))