]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/lcdproc
buildprocess: Add extra metadata to pak lfs files
[ipfire-2.x.git] / lfs / lcdproc
index 83b24376cb567399a9b9bc50040f21a8afd673ab..c5e758b8daaf0c3d9904e38f7bcf59559a1e082b 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # 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        #
@@ -24,6 +24,8 @@
 
 include Config
 
+SUMMARY    = Daemon capable of showing info on LCD displays
+
 VER        = 0.5.7
 
 THISAPP    = lcdproc-$(VER)
@@ -36,6 +38,10 @@ PAK_VER    = 2
 
 DEPS       = 
 
+SERVICES   = lcdproc
+
+CFLAGS    += -fcommon
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -77,6 +83,7 @@ $(subst %,%_MD5,$(objects)) :
 $(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 \
@@ -93,6 +100,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        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