27 lines
773 B
Bash
27 lines
773 B
Bash
# Template build file for 'jsoncpp'.
|
|
pkgname=jsoncpp
|
|
version=1.8.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_STATIC_LIBS=1 -DBUILD_SHARED_LIBS=1 -DJSONCPP_WITH_TESTS=0"
|
|
short_desc="A JSON implementation in C++"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
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=5deb2462cbf0c0121c9d6c9823ec72fe71417e34242e3509bc7c003d526465bc
|
|
|
|
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/*.a
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|