1 ################################################################################
5 ################################################################################
7 TRANSMISSION_VERSION
= 2.92
8 TRANSMISSION_SITE
= http
://download.transmissionbt.com
/files
9 TRANSMISSION_SOURCE
= transmission-
$(TRANSMISSION_VERSION
).
tar.xz
10 TRANSMISSION_DEPENDENCIES
= \
17 TRANSMISSION_AUTORECONF
= YES
18 TRANSMISSION_CONF_OPTS
= \
21 TRANSMISSION_LICENSE
= GPLv2 or GPLv3 with OpenSSL exception
22 TRANSMISSION_LICENSE_FILES
= COPYING
24 ifeq ($(BR2_PACKAGE_LIBMINIUPNPC
),y
)
25 TRANSMISSION_DEPENDENCIES
+= libminiupnpc
28 ifeq ($(BR2_PACKAGE_LIBNATPMP
),y
)
29 TRANSMISSION_DEPENDENCIES
+= libnatpmp
30 TRANSMISSION_CONF_OPTS
+= --enable-external-natpmp
32 TRANSMISSION_CONF_OPTS
+= --disable-external-natpmp
35 ifeq ($(BR2_PACKAGE_TRANSMISSION_UTP
),y
)
36 TRANSMISSION_CONF_OPTS
+= --enable-utp
38 TRANSMISSION_CONF_OPTS
+= --disable-utp
41 ifeq ($(BR2_PACKAGE_TRANSMISSION_CLI
),y
)
42 TRANSMISSION_CONF_OPTS
+= --enable-cli
44 TRANSMISSION_CONF_OPTS
+= --disable-cli
47 ifeq ($(BR2_PACKAGE_TRANSMISSION_DAEMON
),y
)
48 TRANSMISSION_CONF_OPTS
+= --enable-daemon
50 ifeq ($(BR2_PACKAGE_SYSTEMD
),y
)
51 TRANSMISSION_DEPENDENCIES
+= systemd
52 TRANSMISSION_CONF_OPTS
+= --with-systemd-daemon
54 TRANSMISSION_CONF_OPTS
+= --without-systemd-daemon
57 define TRANSMISSION_USERS
58 transmission
-1 transmission
-1 * /var
/lib
/transmission
- transmission Transmission Daemon
61 define TRANSMISSION_INSTALL_INIT_SYSV
62 $(INSTALL
) -m
0755 -D package
/transmission
/S92transmission \
63 $(TARGET_DIR
)/etc
/init.d
/S92transmission
66 define TRANSMISSION_INSTALL_INIT_SYSTEMD
67 $(INSTALL
) -D
-m
0755 $(@D
)/daemon
/transmission-daemon.service \
68 $(TARGET_DIR
)/usr
/lib
/systemd
/system
/transmission-daemon.service
69 mkdir
-p
$(TARGET_DIR
)/etc
/systemd
/system
/multi-user.target.wants
70 ln
-fs ..
/..
/..
/..
/usr
/lib
/systemd
/system
/transmission-daemon.service \
71 $(TARGET_DIR
)/etc
/systemd
/system
/multi-user.target.wants
/transmission-daemon.service
75 TRANSMISSION_CONF_OPTS
+= --disable-daemon
78 ifeq ($(BR2_PACKAGE_TRANSMISSION_REMOTE
),y
)
79 TRANSMISSION_CONF_OPTS
+= --enable-remote
81 TRANSMISSION_CONF_OPTS
+= --disable-remote
84 ifeq ($(BR2_PACKAGE_TRANSMISSION_GTK
),y
)
85 TRANSMISSION_CONF_OPTS
+= --enable-gtk
86 TRANSMISSION_DEPENDENCIES
+= libgtk2
88 TRANSMISSION_CONF_OPTS
+= --disable-gtk
91 $(eval
$(autotools-package
))