wok-current view jsoncpp/receipt @ rev 22222

updated xorg-randrproto (1.4.0 -> 1.5.0)
author Hans-G?nter Theisgen
date Mon Nov 11 17:11:07 2019 +0100 (2019-11-11)
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 }