2 # Copyright (C) 2009-2010 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
10 PKG_NAME:=transmission
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://mirrors.m0k.org/transmission/files
16 PKG_MD5SUM:=5c29d5f5034d9e7ff9eceb5ac2661be5
21 include $(INCLUDE_DIR)/package.mk
23 define Package/transmission/template
27 TITLE:=A free, lightweight BitTorrent client
28 URL:=http://www.transmissionbt.com
31 define Package/transmission-daemon
32 $(call Package/transmission/template)
33 DEPENDS:=+libcurl +libopenssl +libpthread +libevent
37 define Package/transmission-cli
38 $(call Package/transmission/template)
39 DEPENDS:=transmission-daemon
42 define Package/transmission-web
43 $(call Package/transmission/template)
44 DEPENDS:=transmission-daemon
47 define Package/transmission-daemon/description
48 Transmission is a simple BitTorrent client.
49 It features a very simple, intuitive interface
50 on top on an efficient, cross-platform back-end.
51 This package contains the daemon itself.
54 define Package/transmission-cli/description
55 CLI utilities for transmission.
58 define Package/transmission-web/description
59 Webinterface resources for transmission.
66 --with-wx-config="$(STAGING_DIR)/usr/bin/" \
69 CFLAGS="$(TARGET_CFLAGS)" \
71 define Package/transmission-daemon/install
72 $(INSTALL_DIR) $(1)/usr/bin
73 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/transmission-daemon $(1)/usr/bin/
76 define Package/transmission-cli/install
77 $(INSTALL_DIR) $(1)/usr/bin
78 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/transmissioncli $(1)/usr/bin/
79 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/transmission-remote $(1)/usr/bin/
82 define Package/transmission-web/install
83 $(INSTALL_DIR) $(1)/usr/share/transmission
84 $(CP) $(PKG_INSTALL_DIR)/usr/share/transmission/web $(1)/usr/share/transmission/
87 $(eval $(call BuildPackage,transmission-daemon))
88 $(eval $(call BuildPackage,transmission-cli))
89 $(eval $(call BuildPackage,transmission-web))