###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2011 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 #
include Config
+SUMMARY = Daemon capable of showing info on LCD displays
+
VER = 0.5.7
THISAPP = lcdproc-$(VER)
DEPS =
+SERVICES = lcdproc
+
+CFLAGS += -fcommon
+
###############################################################################
# Top-level Rules
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+ $(UPDATE_AUTOMAKE)
cd $(DIR_APP) && \
./configure \
--prefix=/usr \
cd $(DIR_APP) && make install
-mkdir -pv /etc/lcdproc
cp -vf $(DIR_SRC)/config/lcdproc/{LCDd,lcdproc}.conf /etc/lcdproc
+
+ #install initscripts
+ $(call INSTALL_INITSCRIPTS,$(SERVICES))
+
ln -sf ../init.d/lcdproc /etc/rc.d/rc3.d/S60lcdproc
ln -sf ../init.d/lcdproc /etc/rc.d/rc0.d/K40lcdproc
ln -sf ../init.d/lcdproc /etc/rc.d/rc6.d/K40lcdproc