wok rev 21087

updated jsoncpp (0.10.2 -> 1.8.4)
author Hans-G?nter Theisgen
date Fri Mar 15 15:55:06 2019 +0100 (18 months ago)
parents 1f6313ccde29
children 3f1e8cc50b2b
files jsoncpp/receipt
line diff
     1.1 --- a/jsoncpp/receipt	Fri Mar 15 15:00:48 2019 +0100
     1.2 +++ b/jsoncpp/receipt	Fri Mar 15 15:55:06 2019 +0100
     1.3 @@ -1,23 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="jsoncpp"
     1.7 -VERSION="0.10.2"
     1.8 +VERSION="1.8.4"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="A C++ library for interacting with JSON."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="MIT"
    1.13 +WEB_SITE="https://github.com/open-source-parsers/jsoncpp"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://github.com/open-source-parsers/jsoncpp"
    1.17  WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    1.18  
    1.19 -BUILD_DEPENDS="wget cmake pkg-config"
    1.20 +BUILD_DEPENDS="cmake pkg-config"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25  	mkdir build && cd build
    1.26 -	cmake	-DCMAKE_CXX_FLAGS="-ffloat-store" -DCMAKE_INSTALL_PREFIX=/usr ..
    1.27 -	make
    1.28 +	cmake	..					\
    1.29 +		-DCMAKE_CXX_FLAGS="-ffloat-store"	\
    1.30 +		-DCMAKE_INSTALL_PREFIX=/usr &&
    1.31 +	make -j 1 &&
    1.32  	make DESTDIR=$DESTDIR install
    1.33  }
    1.34