# HG changeset patch # User Hans-G?nter Theisgen # Date 1582986743 -3600 # Node ID 3afd0e5958de57796bb4b24a5d0f894e588bd0fd # Parent f9a649f31165514495e2bb20f0b9a66c5f36e451 updated jsoncpp (1.8.4 -> 1.9.2) diff -r f9a649f31165 -r 3afd0e5958de jsoncpp/receipt --- a/jsoncpp/receipt Sat Feb 29 15:17:59 2020 +0100 +++ b/jsoncpp/receipt Sat Feb 29 15:32:23 2020 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="jsoncpp" -VERSION="1.8.4" +VERSION="1.9.2" CATEGORY="misc" SHORT_DESC="A C++ library for interacting with JSON." MAINTAINER="pascal.bellard@slitaz.org" @@ -11,21 +11,23 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" -BUILD_DEPENDS="cmake pkg-config" +DEPENDS="gcc83-lib-base" +BUILD_DEPENDS="cmake gcc83 pkg-config py3k" # Rules to configure and make the package. compile_rules() { - mkdir build && cd build + mkdir build && + cd build && cmake .. \ -DCMAKE_CXX_FLAGS="-ffloat-store" \ -DCMAKE_INSTALL_PREFIX=/usr && - make -j 1 && + make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs/ + cp -a $install/* $fs }