wok annotate jsoncpp/receipt @ rev 21190
libcdio-paranoia-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 03 18:01:46 2019 +0200 (2019-04-03) |
parents | 75f34078ddad |
children | 3afd0e5958de |
rev | line source |
---|---|
pascal@18161 | 1 # SliTaz package receipt. |
pascal@18161 | 2 |
pascal@18161 | 3 PACKAGE="jsoncpp" |
Hans-G?nter@21087 | 4 VERSION="1.8.4" |
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@21087 | 14 BUILD_DEPENDS="cmake pkg-config" |
pascal@18161 | 15 |
pascal@18161 | 16 # Rules to configure and make the package. |
pascal@18161 | 17 compile_rules() |
pascal@18161 | 18 { |
pascal@18161 | 19 mkdir build && cd build |
Hans-G?nter@21087 | 20 cmake .. \ |
Hans-G?nter@21087 | 21 -DCMAKE_CXX_FLAGS="-ffloat-store" \ |
Hans-G?nter@21087 | 22 -DCMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@21087 | 23 make -j 1 && |
pascal@18161 | 24 make DESTDIR=$DESTDIR install |
pascal@18161 | 25 } |
pascal@18161 | 26 |
pascal@18161 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18161 | 28 genpkg_rules() |
pascal@18161 | 29 { |
pascal@18161 | 30 cp -a $install/* $fs/ |
pascal@18161 | 31 } |