wok-6.x view jsoncpp/receipt @ rev 23591
python-pysol-cards: added build dependency
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 10:35:39 2020 +0100 (2020-04-08) |
parents | 3afd0e5958de |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="jsoncpp"
4 VERSION="1.9.2"
5 CATEGORY="misc"
6 SHORT_DESC="A C++ library for interacting with JSON."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/open-source-parsers/jsoncpp"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="cmake gcc83 pkg-config py3k"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CC=gcc-83
21 export CXX=g++-83
23 mkdir build &&
24 cd build &&
25 cmake .. \
26 -DCMAKE_CXX_FLAGS="-ffloat-store" \
27 -DCMAKE_INSTALL_PREFIX=/usr &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }