wok view spk/receipt @ rev 25361

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