26 lines
779 B
Bash
26 lines
779 B
Bash
# Template build file for 'jsoncpp'.
|
|
pkgname=jsoncpp
|
|
version=1.6.5
|
|
revision=2
|
|
build_style="cmake"
|
|
hostmakedepends="cmake"
|
|
configure_args="-DCMAKE_BUILD_TYPE=Release -DBUILD_STATIC_LIBS=ON
|
|
-DBUILD_SHARED_LIBS=ON -DJSONCPP_WITH_TESTS=OFF"
|
|
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=a2b121eaff56ec88cfd034d17685821a908d0d87bc319329b04f91a6552c1ac2
|
|
|
|
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"
|
|
}
|
|
}
|