summaryrefslogtreecommitdiff
path: root/repo/system/s6-rc.xibuild
blob: bbda0e87ee130e0f0b56038bb1a79ec6b951d4f8 (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
#!/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 
}