2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-10-12 17:22:11 +02:00
|
|
|
#
|
|
|
|
# transmission
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2011-10-12 17:22:11 +02:00
|
|
|
TRANSMISSION_VERSION = 2.33
|
|
|
|
TRANSMISSION_SITE = http://download.transmissionbt.com/files/
|
2013-09-06 08:14:15 +02:00
|
|
|
TRANSMISSION_SOURCE = transmission-$(TRANSMISSION_VERSION).tar.xz
|
2011-10-12 17:22:11 +02:00
|
|
|
TRANSMISSION_DEPENDENCIES = \
|
2012-10-22 17:47:52 +02:00
|
|
|
host-pkgconf \
|
2012-03-19 16:40:05 +01:00
|
|
|
host-intltool \
|
2011-10-12 17:22:11 +02:00
|
|
|
libcurl \
|
|
|
|
libevent \
|
|
|
|
openssl \
|
|
|
|
zlib
|
|
|
|
|
|
|
|
TRANSMISSION_CONF_OPT = \
|
|
|
|
--disable-libnotify \
|
|
|
|
--enable-lightweight
|
|
|
|
|
|
|
|
define TRANSMISSION_INIT_SCRIPT_INSTALL
|
|
|
|
[ -f $(TARGET_DIR)/etc/init.d/S92transmission ] || \
|
|
|
|
$(INSTALL) -m 0755 -D package/transmission/S92transmission \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S92transmission
|
|
|
|
endef
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_TRANSMISSION_UTP),y)
|
|
|
|
TRANSMISSION_CONF_OPT += --enable-utp
|
|
|
|
else
|
|
|
|
TRANSMISSION_CONF_OPT += --disable-utp
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_TRANSMISSION_CLI),y)
|
|
|
|
TRANSMISSION_CONF_OPT += --enable-cli
|
|
|
|
else
|
|
|
|
TRANSMISSION_CONF_OPT += --disable-cli
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_TRANSMISSION_DAEMON),y)
|
|
|
|
TRANSMISSION_CONF_OPT += --enable-daemon
|
|
|
|
TRANSMISSION_POST_INSTALL_TARGET_HOOKS += TRANSMISSION_INIT_SCRIPT_INSTALL
|
|
|
|
else
|
|
|
|
TRANSMISSION_CONF_OPT += --disable-daemon
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_TRANSMISSION_REMOTE),y)
|
|
|
|
TRANSMISSION_CONF_OPT += --enable-remote
|
|
|
|
else
|
|
|
|
TRANSMISSION_CONF_OPT += --disable-remote
|
|
|
|
endif
|
|
|
|
|
2011-11-17 20:57:23 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_TRANSMISSION_GTK),y)
|
|
|
|
TRANSMISSION_CONF_OPT += --enable-gtk
|
|
|
|
TRANSMISSION_DEPENDENCIES += libgtk2
|
|
|
|
else
|
|
|
|
TRANSMISSION_CONF_OPT += --disable-gtk
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|