summaryrefslogtreecommitdiff
path: root/repo/system/s6-linux-init.xibuild
blob: fa68b90fedd0700af1b802bf0344f750a7becdd4 (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 nsss"

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 

    make
}

package () {
    make DESTDIR=$PKG_DEST install 
}