wok view jsoncpp/receipt @ rev 19823
Up cookutils(887), yandex-disk: up bdeps and rebuild.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 03 02:42:35 2017 +0200 (2017-03-03) |
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 }