Upgrade transmission to 1.22 (#3665)
[openwrt/svn-archive/archive.git] / net / transmission / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=transmission
12 PKG_VERSION:=1.22
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://download.m0k.org/transmission/files
17 PKG_MD5SUM:=aa0a2db19b0f3dbfd75a0fb354d6c47d
18
19 PKG_FIXUP = libtool
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/transmission
24 SUBMENU:=BitTorrent
25 SECTION:=net
26 CATEGORY:=Network
27 DEPENDS:=+libcurl +libopenssl +libpthread
28 TITLE:=A free, lightweight BitTorrent client
29 URL:=http://www.transmissionbt.com
30 endef
31
32 define Package/tranmission/description
33 Transmission is a simple BitTorrent client.
34 It features a very simple, intuitive interface
35 on top on an efficient, cross-platform back-end.
36 endef
37
38 CONFIGURE_ARGS += \
39 --enable-daemon \
40 --disable-gtk \
41
42 define Build/Compile
43 $(MAKE) -C $(PKG_BUILD_DIR) \
44 $(TARGET_CONFIGURE_OPTS) \
45 CFLAGS="$(TARGET_CFLAGS)"
46 endef
47
48 define Package/transmission/install
49 $(INSTALL_DIR) $(1)/usr/sbin
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/transmission-daemon $(1)/usr/sbin/
51 $(INSTALL_DIR) $(1)/usr/bin
52 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cli/transmissioncli $(1)/usr/bin/
53 $(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/transmission-remote $(1)/usr/bin/
54 endef
55
56 $(eval $(call BuildPackage,transmission))