2017-06-22 00:32:12 +02:00
|
|
|
# Description: C/C++ configuration file library.
|
2021-02-24 11:14:06 +00:00
|
|
|
# URL: https://github.com/hyperrealm/libconfig
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2017-06-22 00:32:12 +02:00
|
|
|
|
|
|
|
name=libconfig
|
2021-06-21 12:02:55 +00:00
|
|
|
version=1.7.3
|
2017-06-22 00:32:12 +02:00
|
|
|
release=1
|
2019-04-10 01:27:10 +02:00
|
|
|
source=(https://github.com/hyperrealm/libconfig/archive/v$version/$name-v$version.tar.gz)
|
2017-06-22 00:32:12 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2018-06-01 00:46:01 +02:00
|
|
|
autoreconf -i
|
2017-06-22 00:32:12 +02:00
|
|
|
|
|
|
|
# dont fail without makeinfo
|
|
|
|
sed -i 's|all: all-am|all:|1' doc/Makefile.in
|
|
|
|
sed -i 's|install: install-am|install:|1' doc/Makefile.in
|
|
|
|
|
2021-02-24 11:14:06 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-static \
|
|
|
|
--disable-examples
|
2017-06-22 00:32:12 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|