wok view jsoncpp/receipt @ rev 19596
Up: cmake (3.7.1)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Jan 01 17:45:15 2017 +0000 (2017-01-01) |
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 }