diff options
author | André Klitzing <aklitzing@gmail.com> | 2016-12-28 13:29:20 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-12-28 19:32:04 +0200 |
commit | 00c6835bbd068e66f0139124a9ca8dc0f13ea905 (patch) | |
tree | a843c29965ef8fa626aef7aa0530b94ad74650a7 /main/jsoncpp | |
parent | f57dceafdf722abc8738acee45fbee6aea5aeb42 (diff) | |
download | aports-00c6835bbd068e66f0139124a9ca8dc0f13ea905.tar.bz2 aports-00c6835bbd068e66f0139124a9ca8dc0f13ea905.tar.xz |
main/jsoncpp: upgrade to 1.8.0
Diffstat (limited to 'main/jsoncpp')
-rw-r--r-- | main/jsoncpp/APKBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/main/jsoncpp/APKBUILD b/main/jsoncpp/APKBUILD index 0aebfbec5f..51fc6cbfb7 100644 --- a/main/jsoncpp/APKBUILD +++ b/main/jsoncpp/APKBUILD @@ -1,7 +1,7 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=jsoncpp -pkgver=1.7.4 +pkgver=1.8.0 pkgrel=0 pkgdesc="JSON C++ library" url="https://github.com/open-source-parsers/jsoncpp" @@ -13,11 +13,11 @@ makedepends="$depends_dev scons" install="" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/open-source-parsers/jsoncpp/archive/$pkgver.tar.gz" +builddir="$srcdir"/jsoncpp-$pkgver -_builddir="$srcdir"/jsoncpp-$pkgver prepare() { local i - cd "$_builddir" + cd "$builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -26,7 +26,7 @@ prepare() { } build() { - cd "$_builddir" + cd "$builddir" # we cannot use cmake since jsoncpp is a dependency for cmake which # means we would get circular buildtime deps scons platform=linux-gcc || return 1 @@ -37,15 +37,15 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" mkdir -p "$pkgdir"/usr/lib - cp "$_builddir"/libjsoncpp.so.0.0.0 "$pkgdir"/usr/lib/ || return 1 + cp "$builddir"/libjsoncpp.so.0.0.0 "$pkgdir"/usr/lib/ || return 1 ln -s libjsoncpp.so.0.0.0 "$pkgdir"/usr/lib/libjsoncpp.so.0 || return 1 ln -s libjsoncpp.so.0.0.0 "$pkgdir"/usr/lib/libjsoncpp.so || return 1 mkdir -p "$pkgdir"/usr/include/jsoncpp - cp -r "$_builddir"/include/json/* "$pkgdir"/usr/include/jsoncpp/ \ + cp -r "$builddir"/include/json/* "$pkgdir"/usr/include/jsoncpp/ \ || return 1 ln -s jsoncpp "$pkgdir"/usr/include/json @@ -58,6 +58,6 @@ package() { > "$pkgdir"/usr/lib/pkgconfig/jsoncpp.pc || return 1 } -md5sums="51a6d5f8832d668daf97790ea59c4926 jsoncpp-1.7.4.tar.gz" -sha256sums="10dcd0677e80727e572a1e462193e51a5fde3e023b99e144b2ee1a469835f769 jsoncpp-1.7.4.tar.gz" -sha512sums="e674f6f885e2aa7258d3d3d7a14ef148b5182fd883a527b3b9d75334e778142a833bbb295796af503573b9745f889b8bc496a0b2e11dce1b9cc7f079ac538bf7 jsoncpp-1.7.4.tar.gz" +md5sums="6d6cbd82b5fe4a9cbae4ffef01f9e9fc jsoncpp-1.8.0.tar.gz" +sha256sums="5deb2462cbf0c0121c9d6c9823ec72fe71417e34242e3509bc7c003d526465bc jsoncpp-1.8.0.tar.gz" +sha512sums="bd0aa56827932e5b50231216c9f501da12053bf9eed6e83210b5c52afb9aff610e71995446a7e2f5f4580ff37762956a307867d3eaa1aebd6ca31e574c9e4d4c jsoncpp-1.8.0.tar.gz" |