28 lines
700 B
Bash
28 lines
700 B
Bash
# Template file for 'jsoncpp'
|
|
pkgname=jsoncpp
|
|
version=1.9.4
|
|
revision=2
|
|
build_style=meson
|
|
short_desc="JSON implementation in C++"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Public Domain, MIT"
|
|
homepage="https://github.com/open-source-parsers/jsoncpp"
|
|
distfiles="https://github.com/open-source-parsers/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=e34a628a8142643b976c7233ef381457efad79468c67cb1ae0b83a33d7493999
|
|
|
|
CXXFLAGS="-D_GLIBCXX_USE_C99_STDIO=1"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
jsoncpp-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|