buildprocess: Add extra metadata to pak lfs files

* Add a Summary and Services field to all pak lfs files
* Replace occurances of INSTALL_INITSCRIPT with new INSTALL_INITSCRIPTS
  macro in all pak lfs files.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Robin Roevens
2022-01-31 23:40:47 +01:00
committed by Peter Müller
parent a9d98b3491
commit f15707c78c
196 changed files with 844 additions and 69 deletions

View File

@@ -24,6 +24,8 @@
include Config
SUMMARY = APC UPS Daemon (Powerful Daemon for APC UPSs)
VER = 3.14.14
THISAPP = apcupsd-$(VER)
@@ -36,6 +38,8 @@ PAK_VER = 7
DEPS =
SERVICES = apcupsd
###############################################################################
# Top-level Rules
###############################################################################
@@ -84,7 +88,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP) && make install
#install initscripts
$(call INSTALL_INITSCRIPT,apcupsd)
$(call INSTALL_INITSCRIPTS,$(SERVICES))
ln -sf ../init.d/apcupsd /etc/rc.d/rc3.d/S65apcupsd
ln -sf ../init.d/apcupsd /etc/rc.d/rc0.d/K35apcupsd