###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2009 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2020 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
-VER = 2.33
+SUMMARY = A BitTorrent client with multiple UIs
+
+VER = 3.00
THISAPP = transmission-$(VER)
DL_FILE = $(THISAPP).tar.xz
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = transmission
-PAK_VER = 1
+PAK_VER = 17
+
+DEPS =
+
+SERVICES = transmission
-DEPS = ""
+CXXFLAGS += -fno-exceptions
###############################################################################
# Top-level Rules
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 76df2b002e9e243f2e4607b40c019974
+$(DL_FILE)_MD5 = a23a32672b83c89b9b61e90408f53d98
install : $(TARGET)
-mkdir -pv /etc/transmission
cp -vf $(DIR_SRC)/config/transmission/* /etc/transmission/
chown -Rv nobody.nobody /etc/transmission
+
+ #install initscripts
+ $(call INSTALL_INITSCRIPTS,$(SERVICES))
+
+ # Install backup include
+ install -v -m 644 $(DIR_SRC)/config/backup/includes/transmission \
+ /var/ipfire/backup/addons/includes/transmission
+
@rm -rf $(DIR_APP)
@$(POSTBUILD)