2020-12-13 12:45:17 +01:00
|
|
|
# Description: Simple .INI file parser library written in C
|
2021-02-01 22:22:39 +11:00
|
|
|
# URL: https://github.com/benhoyt/inih
|
2020-12-13 12:45:17 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2021-03-02 09:01:16 +00:00
|
|
|
# Depends on: meson ninja
|
2020-12-13 12:45:17 +01:00
|
|
|
|
|
|
|
name=inih
|
2022-03-25 16:34:25 +01:00
|
|
|
version=54
|
2020-12-13 12:45:17 +01:00
|
|
|
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 \
|
|
|
|
-D with_INIReader=true \
|
|
|
|
-D distro_install=true
|
|
|
|
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
}
|