blob: 1b521fcc70f619231a9c6a1af59ca58c60bc7f88 (
plain)
1 # Description: C/C++ configuration file library.
2 # URL: https://github.com/hyperrealm/libconfig
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4
5 name=libconfig
6 version=1.7.3
7 release=1
8 source=(https://github.com/hyperrealm/libconfig/archive/v$version/$name-v$version.tar.gz)
9
10 build() {
11 cd $name-$version
12
13 autoreconf -i
14
15 # dont fail without makeinfo
16 sed -i 's|all: all-am|all:|1' doc/Makefile.in
17 sed -i 's|install: install-am|install:|1' doc/Makefile.in
18
19 ./configure --prefix=/usr \
20 --disable-static \
21 --disable-examples
22
23 make
24 make DESTDIR=$PKG install
25 }
|