wok annotate jsoncpp/receipt @ rev 20607
linux-api-headers: add linux/ext2_fs.h
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 18 10:16:36 2018 +0100 (2018-12-18) |
parents | 09b238284d9e |
children | 4ad5543dda89 |
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@18442 | 19 cmake -DCMAKE_CXX_FLAGS="-ffloat-store" -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 } |