summaryrefslogtreecommitdiff
path: root/repo/system/sysvinit.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/system/sysvinit.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/system/sysvinit.xibuild')
-rw-r--r--repo/system/sysvinit.xibuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/repo/system/sysvinit.xibuild b/repo/system/sysvinit.xibuild
index fc4cb18..7a52901 100644
--- a/repo/system/sysvinit.xibuild
+++ b/repo/system/sysvinit.xibuild
@@ -6,10 +6,14 @@ PKG_VER=3.01
SOURCE=http://download.savannah.nongnu.org/releases/sysvinit/sysvinit-$PKG_VER.tar.xz
DESC="The sysvinit system for controlling startup, running and shutdown of the system"
-build () {
+patch () {
curl https://www.linuxfromscratch.org/patches/lfs/development/sysvinit-$PKG_VER-consolidated-1.patch > sysvinit-$PKG_VER-consolidated-1.patch
patch -Np1 -i sysvinit-$PKG_VER-consolidated-1.patch
-
+}
+build () {
make
+}
+
+package () {
make ROOT=$PKG_DEST install
}