forked from ports/contrib
20 lines
546 B
Plaintext
20 lines
546 B
Plaintext
|
# Description: C++ library for interacting with JSON
|
||
|
# URL: https://github.com/open-source-parsers/jsoncpp
|
||
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||
|
# Depends on: meson ninja
|
||
|
|
||
|
name=jsoncpp
|
||
|
version=1.9.4
|
||
|
release=1
|
||
|
source=(https://github.com/open-source-parsers/jsoncpp/archive/$version/$name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
echo ${version} > $name-$version/version
|
||
|
meson setup $name-$version build \
|
||
|
--prefix=/usr \
|
||
|
--buildtype=plain \
|
||
|
--default-library shared
|
||
|
meson compile -C build
|
||
|
DESTDIR=$PKG meson install -C build
|
||
|
}
|