wok-6.x annotate jsoncpp/receipt @ rev 24015

Up tazinst (112)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 25 10:56:54 2021 +0000 (2021-02-25)
parents 3afd0e5958de
children 5ea0ce1cecc0
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@22976 20 export CC=gcc-83
Hans-G?nter@22976 21 export CXX=g++-83
Hans-G?nter@22976 22
Hans-G?nter@22975 23 mkdir build &&
Hans-G?nter@22975 24 cd build &&
Hans-G?nter@21087 25 cmake .. \
Hans-G?nter@21087 26 -DCMAKE_CXX_FLAGS="-ffloat-store" \
Hans-G?nter@21087 27 -DCMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@22975 28 make &&
pascal@18161 29 make DESTDIR=$DESTDIR install
pascal@18161 30 }
pascal@18161 31
pascal@18161 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18161 33 genpkg_rules()
pascal@18161 34 {
Hans-G?nter@22975 35 cp -a $install/* $fs
pascal@18161 36 }