# Template build file for 'jsoncpp'. pkgname=jsoncpp version=1.7.2 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=2179a7df19c1c6dc87e02c65b847efc914625a9b87df3e443d9610fc70c0f557 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" } }