contrib/yajl/Pkgfile

19 lines
495 B
Plaintext
Raw Normal View History

2020-06-06 23:43:11 +02:00
# Description: Yet Another JSON Library
# URL: http://lloyd.github.com/yajl/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cmake
name=yajl
version=2.1.0
release=1
source=(https://github.com/lloyd/$name/archive/$version/$name-$version.tar.gz)
build() {
2020-11-03 21:58:38 +01:00
[[ -e /usr/bin/ninja ]] && PKGMK_YAJL_OPTIONS=' -GNinja'
cmake -S$name-$version -Bbuild $PKGMK_YAJL_OPTIONS \
-DCMAKE_INSTALL_PREFIX=/usr \
-Wno-dev
2020-06-07 00:31:25 +02:00
cmake --build build
2020-07-08 15:01:36 +02:00
DESTDIR=$PKG cmake --install build
2020-06-06 23:43:11 +02:00
}