wok-next annotate jsoncpp/receipt @ rev 20891
cookutils: up (1085); syslinux: remove docs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 19 18:27:17 2018 +0300 (2018-07-19) |
parents | 6477d7f70481 |
children | 8b5b2a6d07b8 |
rev | line source |
---|---|
al@20513 | 1 # SliTaz package receipt v2. |
pascal@18161 | 2 |
pascal@18161 | 3 PACKAGE="jsoncpp" |
al@20542 | 4 VERSION="1.8.4" |
al@20513 | 5 CATEGORY="development" |
al@20513 | 6 SHORT_DESC="A C++ library for interacting with JSON" |
pascal@18161 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18161 | 8 LICENSE="MIT" |
al@20513 | 9 WEB_SITE="https://github.com/open-source-parsers/jsoncpp" |
al@20513 | 10 |
pascal@18161 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18161 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@18161 | 13 |
al@20513 | 14 BUILD_DEPENDS="cmake" |
pascal@18161 | 15 |
al@20513 | 16 compile_rules() { |
al@20513 | 17 mkdir build |
al@20513 | 18 cd build |
al@20513 | 19 cmake \ |
al@20513 | 20 -DCMAKE_CXX_FLAGS="-ffloat-store" \ |
al@20513 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20513 | 22 .. && |
al@20513 | 23 make && |
pascal@18161 | 24 make DESTDIR=$DESTDIR install |
pascal@18161 | 25 } |
pascal@18161 | 26 |
al@20513 | 27 genpkg_rules() { |
al@20513 | 28 copy @dev |
pascal@18161 | 29 } |