wok view jsoncpp/receipt @ rev 20535

Add util-linux-losetup (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 26 09:47:18 2018 +0100 (2018-11-26)
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 }