# Template build file for 'jsoncpp'. pkgname=jsoncpp version=1.7.0 revision=1 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 " license="Public Domain or MIT" homepage="http://jsoncpp.sourceforge.net/" distfiles="https://github.com/open-source-parsers/${pkgname}/archive/${version}.tar.gz" checksum=90e0b1c129dbda17ea9e7fdaa9ae41c54bc5eb697e8aa42f296aab9f8a0169db 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" } }