summaryrefslogtreecommitdiff
path: root/repo/system/s6-portable-utils.xibuild
blob: a0e0956e03b6247ff1f1502fd37ca4b0403d3309 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

MAKEDEPS="make"
DEPS="skalibs s6"

PKG_VER=2.2.3.4
SOURCE=https://skarnet.org/software/s6-portable-utils/s6-portable-utils-$PKG_VER.tar.gz
DESC="Tiny portable generic utilities"

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

package () {
    make DESTDIR=$PKG_DEST install 
}