pycairo was not installed at all
[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.21
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://download.m0k.org/transmission/files
16 PKG_MD5SUM:=6ec565ac831484098a2db20ea0ca3ac7
17
18 PKG_FIXUP = libtool
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/transmission
23 SUBMENU:=BitTorrent
24 SECTION:=net
25 CATEGORY:=Network
26 DEPENDS:=+libcurl +libopenssl +libpthread
27 TITLE:=A free, lightweight BitTorrent client
28 URL:=http://www.transmissionbt.com
29 endef
30
31 define Package/tranmission/description
32 Transmission is a simple BitTorrent client.
33 It features a very simple, intuitive interface
34 on top on an efficient, cross-platform back-end.
35 endef
36
37 CONFIGURE_ARGS += \
38 --enable-daemon \
39 --disable-gtk \
40
41 define Build/Compile
42 $(MAKE) -C $(PKG_BUILD_DIR) \
43 $(TARGET_CONFIGURE_OPTS) \
44 CFLAGS="$(TARGET_CFLAGS)"
45 endef
46
47 define Package/transmission/install
48 $(INSTALL_DIR) $(1)/usr/sbin
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/transmission-daemon $(1)/usr/sbin/
50 $(INSTALL_DIR) $(1)/usr/bin
51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cli/transmissioncli $(1)/usr/bin/
52 $(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/transmission-remote $(1)/usr/bin/
53 endef
54
55 $(eval $(call BuildPackage,transmission))