wok-6.x view spk/receipt @ rev 24767
Up zbar (0.23.90)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 10:01:29 2022 +0000 (2022-03-19) |
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 }