wok view jsoncpp/receipt @ rev 21190
libcdio-paranoia-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 03 18:01:46 2019 +0200 (2019-04-03) |
parents | 75f34078ddad |
children | 3afd0e5958de |
line source
1 # SliTaz package receipt.
3 PACKAGE="jsoncpp"
4 VERSION="1.8.4"
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 BUILD_DEPENDS="cmake pkg-config"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir build && cd build
20 cmake .. \
21 -DCMAKE_CXX_FLAGS="-ffloat-store" \
22 -DCMAKE_INSTALL_PREFIX=/usr &&
23 make -j 1 &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs/
31 }