summaryrefslogtreecommitdiff
path: root/repo/system/s6-linux-init.xibuild
blob: 737aed3b98320c81f0970613d79bbdd9a9f64261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 
}