wok-current diff jsoncpp/receipt @ rev 21201

Add python-pip (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 06 17:02:36 2019 +0200 (2019-04-06)
parents 75f34078ddad
children 3afd0e5958de
line diff
     1.1 --- a/jsoncpp/receipt	Thu Sep 24 11:29:26 2015 +0200
     1.2 +++ b/jsoncpp/receipt	Sat Apr 06 17:02:36 2019 +0200
     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