jsoncpp: update to 1.7.4
This commit is contained in:
parent
2a867f3f29
commit
7b189358cd
|
@ -1,28 +1,27 @@
|
||||||
# Template build file for 'jsoncpp'.
|
# Template build file for 'jsoncpp'.
|
||||||
pkgname=jsoncpp
|
pkgname=jsoncpp
|
||||||
version=1.7.3
|
version=1.7.4
|
||||||
revision=1
|
revision=1
|
||||||
build_style="cmake"
|
build_style=cmake
|
||||||
configure_args="-DCMAKE_BUILD_TYPE=Release -DBUILD_STATIC_LIBS=1
|
configure_args="-DBUILD_STATIC_LIBS=1 -DBUILD_SHARED_LIBS=1 -DJSONCPP_WITH_TESTS=0"
|
||||||
-DBUILD_SHARED_LIBS=1 -DJSONCPP_WITH_TESTS=0"
|
|
||||||
short_desc="A JSON implementation in C++"
|
short_desc="A JSON implementation in C++"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="Public Domain or MIT"
|
license="Public Domain, MIT"
|
||||||
homepage="http://jsoncpp.sourceforge.net/"
|
homepage="https://github.com/open-source-parsers/jsoncpp"
|
||||||
distfiles="https://github.com/open-source-parsers/${pkgname}/archive/${version}.tar.gz"
|
distfiles="https://github.com/open-source-parsers/${pkgname}/archive/${version}.tar.gz"
|
||||||
checksum=1cfcad14054039ba97c22531888796cb9369e6353f257aacaad34fda956ada53
|
checksum=10dcd0677e80727e572a1e462193e51a5fde3e023b99e144b2ee1a469835f769
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
jsoncpp-devel_package() {
|
jsoncpp-devel_package() {
|
||||||
depends="jsoncpp>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.a"
|
vmove usr/lib/*.a
|
||||||
vmove "usr/lib/*.so"
|
vmove usr/lib/*.so
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue