28 lines
789 B
Bash
28 lines
789 B
Bash
# Template build file for 'jsoncpp'.
|
|
pkgname=jsoncpp
|
|
version=1.7.3
|
|
revision=1
|
|
build_style="cmake"
|
|
configure_args="-DCMAKE_BUILD_TYPE=Release -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 or MIT"
|
|
homepage="http://jsoncpp.sourceforge.net/"
|
|
distfiles="https://github.com/open-source-parsers/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=1cfcad14054039ba97c22531888796cb9369e6353f257aacaad34fda956ada53
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
jsoncpp-devel_package() {
|
|
depends="jsoncpp>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|