summaryrefslogtreecommitdiff
path: root/repo/system/s6-rc.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/s6-rc.xibuild')
-rw-r--r--repo/system/s6-rc.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/system/s6-rc.xibuild b/repo/system/s6-rc.xibuild
new file mode 100644
index 0000000..bbda0e8
--- /dev/null
+++ b/repo/system/s6-rc.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="skalibs s6"
+
+PKG_VER=0.5.3.0
+SOURCE=https://skarnet.org/software/s6-rc/s6-rc-$PKG_VER.tar.gz
+
+DESC="Service manager of the s6 init system"
+
+build () {
+ ./configure --enable-shared \
+ --enable-static \
+ --enable-allstatic \
+ --enable-static-libc \
+ --libdir=/usr/lib \
+ --libexecdir=/usr/lib/s6-rc \
+ --with-dynlib=/usr/lib
+
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}