summaryrefslogtreecommitdiff
path: root/repo/libconfig/libconfig.xibuild
blob: b81a2bd7d640c2056a80138e4a5545748034feab (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
27
#!/bin/sh

NAME="libconfig"
DESC="A simple library for manipulating structured configuration files"

MAKEDEPS="make automake autoconf libtool"
DEPS="musl"

PKG_VER=1.7.3
SOURCE="https://github.com/hyperrealm/libconfig/archive/v$PKG_VER.tar.gz"

prepare () {
    autoreconf -fi
}

build () {
    ./configure \
        --prefix=/usr
        --bindir=/usr/bin \
        --sysconfdir=/etc \
        --disable-static
    make
}

package () {
    make -j1 DESTDIR=$PKG_DEST install
}