summaryrefslogtreecommitdiff
path: root/repo/system/s6.xibuild
blob: 7f429a53eb4f998f6a9ff86ad9256a7250d986db (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
#!/bin/sh

MAKEDEPS="make"
DEPS="skalibs execline"

PKG_VER=2.11.0.1
SOURCE=https://skarnet.org/software/s6/s6-$PKG_VER.tar.gz 
DESC="Small suite of programs for UNIX, designed to allow process supervision"

build () {
    ./configure --enable-shared      \
            --enable-static      \
            --enable-allstatic   \
            --enable-static-libc \
            --libdir=/usr/lib    \
            --libexecdir=/usr/lib/s6 \
            --with-dynlib=/usr/lib

    make
}

package () {
    make DESTDIR=$PKG_DEST install 
}