summaryrefslogtreecommitdiff
path: root/repo/system/s6-linux-init.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-02 16:24:16 +0000
committerdavidovski <david@davidovski.xyz>2022-03-02 16:24:16 +0000
commit6b3593e13e688d558be05846d1e2d9acf6e97c71 (patch)
tree6e0cdcd42b5d5aef366ac5d066da856e82c9a649 /repo/system/s6-linux-init.xibuild
parente8213fac46bfcb8068a883cb88b2bb1587f190f9 (diff)
added s6 init
Diffstat (limited to 'repo/system/s6-linux-init.xibuild')
-rw-r--r--repo/system/s6-linux-init.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/system/s6-linux-init.xibuild b/repo/system/s6-linux-init.xibuild
new file mode 100644
index 0000000..737aed3
--- /dev/null
+++ b/repo/system/s6-linux-init.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="s6 skalibs"
+
+PKG_VER=1.0.7.0
+SOURCE=https://skarnet.org/software/s6-linux-init/s6-linux-init-$PKG_VER.tar.gz
+DESC="Small suite of programs for UNIX, designed to allow process supervision"
+
+build () {
+ ./configure --enable-shared \
+ --enable-static \
+ --enable-nsss \
+ --enable-allstatic \
+ --enable-static-libc \
+ --libdir=/usr/lib \
+ --libexecdir=/usr/lib/s6-linux-init \
+ --with-dynlib=/usr/lib \
+ --enable-utmps ${OPARG}
+
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}