forked from ports/contrib
17 lines
416 B
Plaintext
17 lines
416 B
Plaintext
# 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() {
|
|
cmake -S$name-$version -Bbuild \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --build build --target install
|
|
}
|