wok annotate jsoncpp/receipt @ rev 18386

gdal: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 18 10:07:24 2015 +0200 (2015-09-18)
parents
children 75f34078ddad
rev   line source
pascal@18161 1 # SliTaz package receipt.
pascal@18161 2
pascal@18161 3 PACKAGE="jsoncpp"
pascal@18161 4 VERSION="0.10.2"
pascal@18161 5 CATEGORY="misc"
pascal@18161 6 SHORT_DESC="A C++ library for interacting with JSON."
pascal@18161 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18161 8 LICENSE="MIT"
pascal@18161 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18161 10 WEB_SITE="https://github.com/open-source-parsers/jsoncpp"
pascal@18161 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
pascal@18161 12
pascal@18161 13 BUILD_DEPENDS="wget cmake pkg-config"
pascal@18161 14
pascal@18161 15 # Rules to configure and make the package.
pascal@18161 16 compile_rules()
pascal@18161 17 {
pascal@18161 18 mkdir build && cd build
pascal@18161 19 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
pascal@18161 20 make
pascal@18161 21 make DESTDIR=$DESTDIR install
pascal@18161 22 }
pascal@18161 23
pascal@18161 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18161 25 genpkg_rules()
pascal@18161 26 {
pascal@18161 27 cp -a $install/* $fs/
pascal@18161 28 }