opt/inih/Pkgfile
2022-03-27 13:54:11 +02:00

24 lines
589 B
Plaintext

# Description: Simple .INI file parser library written in C
# URL: https://github.com/benhoyt/inih
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: meson ninja
name=inih
version=55
release=1
source=(https://github.com/benhoyt/inih/archive/r$version/$name-$version.tar.gz)
build() {
meson setup build $name-r$version \
--prefix=/usr \
--buildtype=release \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D with_INIReader=true \
-D distro_install=true
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
}