wok-6.x annotate yajl/receipt @ rev 24657
updated icewm (1.6.4 -> 2.9.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 07:48:38 2022 +0100 (2022-03-11) |
parents | 5ea0ce1cecc0 |
children | e1e1678c5265 |
rev | line source |
---|---|
slaxemulator@7915 | 1 # SliTaz package receipt. |
slaxemulator@7915 | 2 |
slaxemulator@7915 | 3 PACKAGE="yajl" |
Hans-G?nter@22319 | 4 VERSION="2.1.0" |
slaxemulator@7915 | 5 CATEGORY="development" |
Hans-G?nter@22319 | 6 SHORT_DESC="Yet Another JSON Library." |
slaxemulator@7915 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15362 | 8 LICENSE="BSD" |
Hans-G?nter@22319 | 9 WEB_SITE="https://lloyd.github.io/yajl/" |
Hans-G?nter@22319 | 10 |
Hans-G?nter@22319 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22319 | 12 WGET_URL="https://github.com/lloyd/$PACKAGE/archive/$VERSION.tar.gz" |
slaxemulator@7915 | 13 |
pascal@15362 | 14 BUILD_DEPENDS="cmake doxygen git" |
pascal@15362 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24299 | 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
slaxemulator@7915 | 22 # Rules to configure and make the package. |
slaxemulator@7915 | 23 compile_rules() |
slaxemulator@7915 | 24 { |
Hans-G?nter@22319 | 25 cmake . \ |
Hans-G?nter@22319 | 26 -DCMAKE_INSTALL_PREFIX=/usr && |
pascal@15362 | 27 make DESTDIR=$DESTDIR install |
slaxemulator@7915 | 28 } |
slaxemulator@7915 | 29 |
slaxemulator@7915 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7915 | 31 genpkg_rules() |
slaxemulator@7915 | 32 { |
pascal@15362 | 33 cp -a $install/usr $fs |
slaxemulator@7915 | 34 } |