wok-current view jsoncpp/receipt @ rev 20984

updated gob2 and gob2-dev (2.0.17 -> 2.0.20)
author Hans-G?nter Theisgen
date Wed Mar 06 17:39:40 2019 +0100 (2019-03-06)
parents 09b238284d9e
children 4ad5543dda89
line source
1 # SliTaz package receipt.
3 PACKAGE="jsoncpp"
4 VERSION="0.10.2"
5 CATEGORY="misc"
6 SHORT_DESC="A C++ library for interacting with JSON."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/open-source-parsers/jsoncpp"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
13 BUILD_DEPENDS="wget cmake pkg-config"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir build && cd build
19 cmake -DCMAKE_CXX_FLAGS="-ffloat-store" -DCMAKE_INSTALL_PREFIX=/usr ..
20 make
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/* $fs/
28 }