wok view jsoncpp/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
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 }