# Description: C/C++ configuration file library. # URL: http://www.hyperrealm.com/libconfig/ # Maintainer: Thomas Penteker, tek at serverop dot de # Packager: Tilman Sauerbeck, tilman at crux dot nu name=libconfig version=1.6 release=1 source=(https://github.com/hyperrealm/libconfig/archive/v$version.tar.gz) build() { cd $name-$version # add required additional argument sed -i '1075iscanctx_getpath(yyextra),' lib/scanner.c # 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 ./configure --prefix=/usr --disable-examples make make DESTDIR=$PKG install }