#!/bin/sh # Build script for libconfig (autotools, Template A). No deps. set -e cd "$SRCDIR" if [ -f configure ]; then sed -i -E 's/(kopensolaris\*-gnu)([^)]*\))/\1 | hammerhead*\2/' configure fi export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:/usr/lib/pkgconfig:$PKG_CONFIG_PATH" export CFLAGS="${CFLAGS} -I$PREFIX/include -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS" export LDFLAGS="${LDFLAGS} -L$PREFIX/lib -R$PREFIX/lib" ./configure \ --prefix="$PREFIX" \ --build="$BUILD_TRIPLE" \ --host="$BUILD_TRIPLE" \ --sysconfdir="$SYSCONFDIR" \ --disable-static gmake -j${JOBS:-1} gmake install DESTDIR="$PKGDIR" # libconfig - C/C++ library for structured configuration files (picom) # https://hyperrealm.github.io/libconfig/ [package] name = "libconfig" version = "1.7.3" release = 1 description = "C/C++ library for processing structured configuration files" url = "https://hyperrealm.github.io/libconfig/" license = "LGPL-2.1-or-later" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = [] build = [] [[source]] file = "libconfig-1.7.3.tar.gz" urls = ["https://github.com/hyperrealm/libconfig/releases/download/v1.7.3/libconfig-1.7.3.tar.gz"] checksum = "545166d6cac037744381d1e9cc5a5405094e7bfad16a411699bcff40bbb31ee7" [build] parallel = true