wok-next annotate yajl/receipt @ rev 21156
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 02 16:32:35 2019 +0200 (2019-02-02) |
parents | 1ff723a6455b |
children |
rev | line source |
---|---|
al@20647 | 1 # SliTaz package receipt v2. |
slaxemulator@7915 | 2 |
slaxemulator@7915 | 3 PACKAGE="yajl" |
al@20647 | 4 VERSION="2.1.0" |
slaxemulator@7915 | 5 CATEGORY="development" |
slaxemulator@7915 | 6 SHORT_DESC="Yet Another JSON Library" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15362 | 8 LICENSE="BSD" |
al@20647 | 9 WEB_SITE="http://lloyd.github.io/yajl/" |
slaxemulator@7915 | 10 |
al@20647 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20647 | 12 WGET_URL="http://github.com/lloyd/yajl/tarball/$VERSION" |
pascal@15362 | 13 |
al@20647 | 14 BUILD_DEPENDS="cmake doxygen" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
al@20647 | 16 |
al@20647 | 17 compile_rules() { |
al@20647 | 18 mkdir build |
al@20647 | 19 cd build |
slaxemulator@7915 | 20 cmake \ |
slaxemulator@7915 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20647 | 22 .. && |
al@20647 | 23 make install |
slaxemulator@7915 | 24 } |
slaxemulator@7915 | 25 |
al@20647 | 26 genpkg_rules() { |
al@20647 | 27 case $PACKAGE in |
al@20647 | 28 yajl) copy @std;; |
al@20647 | 29 *-dev) copy @dev;; |
al@20647 | 30 esac |
slaxemulator@7915 | 31 } |