wok-current view jsoncpp/receipt @ rev 22700
updated enchant and enchant-dev (1.6.0 -> 2.2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 21 10:37:36 2020 +0100 (2020-01-21) |
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 }