###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2014 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2018 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 #
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = sane
-PAK_VER = 4
+PAK_VER = 5
DEPS = "cups libtiff"
cd $(DIR_APP) && make install
chmod 4755 /usr/bin/scanimage
cp -vf $(DIR_SRC)/config/sane/saned.conf /etc/sane.d/
+
+ #install initscripts
+ $(call INSTALL_INITSCRIPT,sane)
+
ln -sf ../init.d/sane /etc/rc.d/rc3.d/S95sane
ln -sf ../init.d/sane /etc/rc.d/rc0.d/K10sane
ln -sf ../init.d/sane /etc/rc.d/rc6.d/K10sane