forked from ports/contrib
yajl: updated cmake syntax
This commit is contained in:
parent
63ebb4251c
commit
699ae792ac
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF399+WBP5GMsSLoxJ0ctgrHv+cYIqosL5aR0G5QyAwOU2295f27wAwyUeYDFV0/x8SNrapGIKi/uEatRJEF4LHgU=
|
||||
SHA256 (Pkgfile) = 1e2b8e280d05942c6cbaa8e620f85f559c383e35a361a46dc52914f2b3073467
|
||||
RWSagIOpLGJF3+s4T19FDj+7c9eJyWZTBLsno88vZm41HrDJybxY7Imcmjvup9wQCCC39Xezyxl5tQtvi3LmUl0Enc77J/sGIwQ=
|
||||
SHA256 (Pkgfile) = 1157f7ff0e83f685e07d13db08fd0c767926100fffee26da62057895df8cebf9
|
||||
SHA256 (.footprint) = a12a3cd23e0ffa9ef413dd7d8d801472c0b67d9f53dae0d996713ea0eaca8686
|
||||
SHA256 (yajl-2.1.0.tar.gz) = 3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a
|
||||
|
@ -9,8 +9,10 @@ release=1
|
||||
source=(https://github.com/lloyd/$name/archive/$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cmake -S$name-$version -Bbuild \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
[[ -e /usr/bin/ninja ]] && PKGMK_YAJL_OPTIONS=' -GNinja'
|
||||
cmake -S$name-$version -Bbuild $PKGMK_YAJL_OPTIONS \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user