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