wok view jsoncpp/receipt @ rev 18442

jsoncpp: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 11:29:26 2015 +0200 (2015-09-24)
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 }