[packages] update transmission to v1.51 and split it into daemon, cli and web packages
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14742 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9e6dc68334
commit
eb11600928
@ -1,38 +1,61 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 OpenWrt.org
|
# Copyright (C) 2009 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
# $Id$
|
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=transmission
|
PKG_NAME:=transmission
|
||||||
PKG_VERSION:=1.34
|
PKG_VERSION:=1.51
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://download.m0k.org/transmission/files
|
PKG_SOURCE_URL:=http://download.m0k.org/transmission/files
|
||||||
PKG_MD5SUM:=c4ef93639bcb895c1b3d279b2f4e27b3
|
PKG_MD5SUM:=b93439fbd0040ad6eb448f70a48355f5
|
||||||
|
|
||||||
PKG_FIXUP = libtool
|
PKG_FIXUP = libtool
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/transmission
|
define Package/transmission/template
|
||||||
SUBMENU:=BitTorrent
|
SUBMENU:=BitTorrent
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
DEPENDS:=+libcurl +libopenssl +libpthread
|
|
||||||
TITLE:=A free, lightweight BitTorrent client
|
TITLE:=A free, lightweight BitTorrent client
|
||||||
URL:=http://www.transmissionbt.com
|
URL:=http://www.transmissionbt.com
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/tranmission/description
|
define Package/transmission-daemon
|
||||||
|
$(call Package/transmission/template)
|
||||||
|
DEPENDS:=+libcurl +libopenssl +libpthread
|
||||||
|
MENU:=1
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/transmission-cli
|
||||||
|
$(call Package/transmission/template)
|
||||||
|
DEPENDS:=transmission-daemon
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/transmission-web
|
||||||
|
$(call Package/transmission/template)
|
||||||
|
DEPENDS:=transmission-daemon
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/transmission-daemon/description
|
||||||
Transmission is a simple BitTorrent client.
|
Transmission is a simple BitTorrent client.
|
||||||
It features a very simple, intuitive interface
|
It features a very simple, intuitive interface
|
||||||
on top on an efficient, cross-platform back-end.
|
on top on an efficient, cross-platform back-end.
|
||||||
|
This package contains the daemon itself.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/transmission-cli/description
|
||||||
|
CLI utilities for transmission.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/transmission-web/description
|
||||||
|
Webinterface resources for transmission.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
@ -47,12 +70,23 @@ define Build/Compile
|
|||||||
CFLAGS="$(TARGET_CFLAGS)"
|
CFLAGS="$(TARGET_CFLAGS)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/transmission/install
|
define Package/transmission-daemon/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/transmission-daemon $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/transmission-daemon $(1)/usr/sbin/
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/transmission-cli/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cli/transmissioncli $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cli/transmissioncli $(1)/usr/bin/
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/transmission-remote $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/transmission-remote $(1)/usr/bin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,transmission))
|
define Package/transmission-web/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/share/transmission
|
||||||
|
rm -rf `find $(PKG_BUILD_DIR)/web -type d -name .svn`
|
||||||
|
cp -rf $(PKG_BUILD_DIR)/web $(1)/usr/share/transmission
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,transmission-daemon))
|
||||||
|
$(eval $(call BuildPackage,transmission-cli))
|
||||||
|
$(eval $(call BuildPackage,transmission-web))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user