source: packages/net/transmission/Makefile @ 19816

Last change on this file since 19816 was 19816, checked in by obsy, 7 years ago

[packages] transmission: update to 1.91

  • Property svn:copyright set to Copyright (C) 2008 OpenWrt.org
  • Property svn:eol-style set to native
  • Property svn:licence set to GPLv2
File size: 2.4 KB
Line 
1#
2# Copyright (C) 2009-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=transmission
11PKG_VERSION:=1.91
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://mirrors.m0k.org/transmission/files
16PKG_MD5SUM:=2c6993300988d5aa2e3fc24a439d3633
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/transmission/template
24  SUBMENU:=BitTorrent
25  SECTION:=net
26  CATEGORY:=Network
27  TITLE:=A free, lightweight BitTorrent client
28  URL:=http://www.transmissionbt.com
29endef
30
31define Package/transmission-daemon
32  $(call Package/transmission/template)
33  DEPENDS:=+libcurl +libopenssl +libpthread +libevent
34  MENU:=1
35endef
36
37define Package/transmission-cli
38  $(call Package/transmission/template)
39  DEPENDS:=transmission-daemon
40endef
41
42define Package/transmission-web
43  $(call Package/transmission/template)
44  DEPENDS:=transmission-daemon
45endef
46
47define 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.
52endef
53
54define Package/transmission-cli/description
55 CLI utilities for transmission.
56endef
57
58define Package/transmission-web/description
59 Webinterface resources for transmission.
60endef
61
62CONFIGURE_ARGS += \
63        --enable-daemon \
64        --disable-gtk \
65        --disable-wx \
66        --with-wx-config="$(STAGING_DIR)/usr/bin/" \
67
68MAKE_FLAGS += \
69        CFLAGS="$(TARGET_CFLAGS)" \
70
71define Package/transmission-daemon/install
72        $(INSTALL_DIR) $(1)/usr/bin
73        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/transmission-daemon $(1)/usr/bin/
74        $(INSTALL_DIR) $(1)/etc/init.d/
75        $(INSTALL_BIN) files/transmission.init $(1)/etc/init.d/transmission
76        $(INSTALL_DIR) $(1)/etc/config
77        $(INSTALL_CONF) files/transmission.config $(1)/etc/config/transmission
78endef
79
80define Package/transmission-cli/install
81        $(INSTALL_DIR) $(1)/usr/bin
82        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/transmissioncli $(1)/usr/bin/
83        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/transmission-remote $(1)/usr/bin/
84endef
85
86define Package/transmission-web/install
87        $(INSTALL_DIR) $(1)/usr/share/transmission
88        $(CP) $(PKG_INSTALL_DIR)/usr/share/transmission/web $(1)/usr/share/transmission/
89endef
90
91$(eval $(call BuildPackage,transmission-daemon))
92$(eval $(call BuildPackage,transmission-cli))
93$(eval $(call BuildPackage,transmission-web))
Note: See TracBrowser for help on using the repository browser.