summaryrefslogtreecommitdiff
path: root/repo/system/sysvinit.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-29 23:37:34 +0100
committerdavidovski <david@davidovski.xyz>2022-03-29 23:37:34 +0100
commitd28d2287b138ede0591d9facd5dbe7ca4f329f83 (patch)
treecea79933059dd721d6a9578f6214ac6fe9057d56 /repo/system/sysvinit.xibuild
parent14a1fee0a54d94f0f57f50d2532849f3c2383a15 (diff)
added sysvinit and openrc
Diffstat (limited to 'repo/system/sysvinit.xibuild')
-rw-r--r--repo/system/sysvinit.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/system/sysvinit.xibuild b/repo/system/sysvinit.xibuild
new file mode 100644
index 0000000..f585b61
--- /dev/null
+++ b/repo/system/sysvinit.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+MAKEDEPS="make patch"
+DEPS="sh musl"
+
+PKG_VER=3.01
+SOURCE=http://download.savannah.nongnu.org/releases/sysvinit/sysvinit-$PKG_VER.tar.xz
+ADDITIONAL="
+ https://www.linuxfromscratch.org/patches/lfs/development/sysvinit-$PKG_VER-consolidated-1.patch
+ "
+
+DESC="The sysvinit system for controlling startup, running and shutdown of the system"
+
+
+prepare () {
+ patch -Np1 -i sysvinit-$PKG_VER-consolidated-1.patch
+}
+
+build () {
+ make
+}
+
+package () {
+ make ROOT=$PKG_DEST install
+}