wok annotate jsoncpp/receipt @ rev 24594
updated getmail (5.14 -> 5.16)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 15:05:47 2022 +0100 (2022-03-01) |
parents | a9f09a1e9b06 |
children | 0f28e2050421 |
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@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@18161 | 23 # Rules to configure and make the package. |
pascal@18161 | 24 compile_rules() |
pascal@18161 | 25 { |
Hans-G?nter@22976 | 26 export CC=gcc-83 |
Hans-G?nter@22976 | 27 export CXX=g++-83 |
Hans-G?nter@22976 | 28 |
Hans-G?nter@22975 | 29 mkdir build && |
Hans-G?nter@22975 | 30 cd build && |
Hans-G?nter@21087 | 31 cmake .. \ |
Hans-G?nter@21087 | 32 -DCMAKE_CXX_FLAGS="-ffloat-store" \ |
Hans-G?nter@21087 | 33 -DCMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@22975 | 34 make && |
pascal@18161 | 35 make DESTDIR=$DESTDIR install |
pascal@18161 | 36 } |
pascal@18161 | 37 |
pascal@18161 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18161 | 39 genpkg_rules() |
pascal@18161 | 40 { |
Hans-G?nter@22975 | 41 cp -a $install/* $fs |
pascal@18161 | 42 } |