Split python-gnome-desktop into python-rsvg and python-wnck.
[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.32
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:=2525872f5c95886243f83ed513e3952b
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 --disable-wx \
42 --with-wx-config="$(STAGING_DIR)/usr/bin/" \
43
44 define Build/Compile
45 $(MAKE) -C $(PKG_BUILD_DIR) \
46 $(TARGET_CONFIGURE_OPTS) \
47 CFLAGS="$(TARGET_CFLAGS)"
48 endef
49
50 define Package/transmission/install
51 $(INSTALL_DIR) $(1)/usr/sbin
52 $(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/transmission-daemon $(1)/usr/sbin/
53 $(INSTALL_DIR) $(1)/usr/bin
54 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cli/transmissioncli $(1)/usr/bin/
55 $(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/transmission-remote $(1)/usr/bin/
56 endef
57
58 $(eval $(call BuildPackage,transmission))