wok-6.x annotate spk/receipt @ rev 24383
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 06 11:51:57 2022 +0000 (2022-02-06) |
parents | 3cdc90c472a2 |
children |
rev | line source |
---|---|
pankso@15759 | 1 # SliTaz package receipt. |
pankso@15759 | 2 |
pankso@15759 | 3 PACKAGE="spk" |
erjo@17829 | 4 VERSION="1.4.3" |
pankso@15759 | 5 CATEGORY="base-system" |
pankso@15759 | 6 SHORT_DESC="Fast and Light SliTaz Packages Toolset" |
pankso@15759 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15759 | 8 LICENSE="BSD" |
pankso@15759 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@15759 | 10 WEB_SITE="http://www.slitaz.org/" |
pankso@15759 | 11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz" |
pascal@16049 | 12 HOST_ARCH="i486 arm x86_64" |
pankso@15759 | 13 |
pascal@24070 | 14 current_version() |
pascal@24070 | 15 { |
pascal@24070 | 16 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ |
pascal@24070 | 17 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ |
pascal@24383 | 18 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||;s|.|&.|g;s|.$||' |
pascal@24070 | 19 } |
pascal@24070 | 20 |
pankso@15759 | 21 # Rules to configure and make the package. |
pankso@15759 | 22 compile_rules() |
pankso@15759 | 23 { |
pankso@15759 | 24 make DESTDIR=$install install |
pankso@15759 | 25 } |
pankso@15759 | 26 |
pankso@15759 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15759 | 28 genpkg_rules() |
pankso@15759 | 29 { |
pankso@15759 | 30 mkdir -p $fs |
pankso@15759 | 31 cp -a $install/* $fs |
pankso@15759 | 32 } |