PKG_NAME:=transmission
PKG_VERSION:=2.20b4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://mirrors.m0k.org/transmission/files
--enable-daemon \
--enable-cli \
--disable-gtk \
- --enable-largefile
+ --enable-largefile \
+ --enable-lightweight
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
config transmission
option enabled 0
option config_dir '/tmp/transmission'
+ option run_daemon_as_user root
option alt_speed_down 50
option alt_speed_enabled false
option alt_speed_time_begin 540
echo "\""invalid-key"\": false" >> $config_dir/settings.json
echo "}" >> $config_dir/settings.json
-
+
+ chown -R $run_as_usr $config_dir
+
eval "$SSD -c $run_as_usr -q -b -x $BIN -S -- -g $config_dir"
}