wok view jsoncpp/receipt @ rev 22238

updated xorg-makedepend (1.0.4 -> 1.0.6)
author Hans-G?nter Theisgen
date Tue Nov 12 09:08:19 2019 +0100 (2019-11-12)
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 }