wok-6.x annotate jsoncpp/receipt @ rev 22975
updated jsoncpp (1.8.4 -> 1.9.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 29 15:32:23 2020 +0100 (2020-02-29) |
parents | 4ad5543dda89 |
children | a9f09a1e9b06 |
rev | line source |
---|---|
pascal@18161 | 1 # SliTaz package receipt. |
pascal@18161 | 2 |
pascal@18161 | 3 PACKAGE="jsoncpp" |
Hans-G?nter@22975 | 4 VERSION="1.9.2" |
pascal@18161 | 5 CATEGORY="misc" |
pascal@18161 | 6 SHORT_DESC="A C++ library for interacting with JSON." |
pascal@18161 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18161 | 8 LICENSE="MIT" |
Hans-G?nter@21087 | 9 WEB_SITE="https://github.com/open-source-parsers/jsoncpp" |
Hans-G?nter@21087 | 10 |
pascal@18161 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18161 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@18161 | 13 |
Hans-G?nter@22975 | 14 DEPENDS="gcc83-lib-base" |
Hans-G?nter@22975 | 15 BUILD_DEPENDS="cmake gcc83 pkg-config py3k" |
pascal@18161 | 16 |
pascal@18161 | 17 # Rules to configure and make the package. |
pascal@18161 | 18 compile_rules() |
pascal@18161 | 19 { |
Hans-G?nter@22975 | 20 mkdir build && |
Hans-G?nter@22975 | 21 cd build && |
Hans-G?nter@21087 | 22 cmake .. \ |
Hans-G?nter@21087 | 23 -DCMAKE_CXX_FLAGS="-ffloat-store" \ |
Hans-G?nter@21087 | 24 -DCMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@22975 | 25 make && |
pascal@18161 | 26 make DESTDIR=$DESTDIR install |
pascal@18161 | 27 } |
pascal@18161 | 28 |
pascal@18161 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18161 | 30 genpkg_rules() |
pascal@18161 | 31 { |
Hans-G?nter@22975 | 32 cp -a $install/* $fs |
pascal@18161 | 33 } |