wok annotate jsoncpp/receipt @ rev 24737
updated libevdev and libevdev-dev (1.9.0 -> 1.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 09:39:00 2022 +0100 (2022-03-16) |
parents | 5ea0ce1cecc0 |
children | 20ad21d5532c |
rev | line source |
---|---|
pascal@18161 | 1 # SliTaz package receipt. |
pascal@18161 | 2 |
pascal@18161 | 3 PACKAGE="jsoncpp" |
Hans-G?nter@24692 | 4 VERSION="1.9.5" |
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@24692 | 29 mkdir _build && |
Hans-G?nter@24692 | 30 cd _build && |
Hans-G?nter@21087 | 31 cmake .. \ |
Hans-G?nter@24692 | 32 -D CMAKE_CXX_FLAGS="-ffloat-store" \ |
Hans-G?nter@24692 | 33 -D CMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@22975 | 34 make && |
Hans-G?nter@24692 | 35 make install DESTDIR=$DESTDIR |
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 } |