wok-6.x annotate speakup-utils/receipt @ rev 25445
itaka: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 07:38:52 2022 +0000 (2022-09-06) |
parents | 934055de50e2 |
children |
rev | line source |
---|---|
slaxemulator@9176 | 1 # SliTaz package receipt. |
slaxemulator@9176 | 2 |
slaxemulator@9176 | 3 PACKAGE="speakup-utils" |
slaxemulator@9176 | 4 VERSION="3.1.6" |
slaxemulator@9176 | 5 CATEGORY="misc" |
slaxemulator@9176 | 6 SHORT_DESC="Tiny utilities for controlling the Speakup screenreader" |
slaxemulator@9176 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15593 | 8 LICENSE="GPL2" |
slaxemulator@9176 | 9 SOURCE="speakup" |
slaxemulator@9176 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@9176 | 11 WEB_SITE="http://linux-speakup.org/" |
pascal@9189 | 12 WGET_URL="ftp://linux-speakup.org/pub/speakup/$TARBALL" |
slaxemulator@9176 | 13 |
pascal@15593 | 14 DEPENDS="linux-speakup" |
pascal@15593 | 15 |
pascal@24462 | 16 # What is the latest version available today? |
pascal@24462 | 17 current_version() |
pascal@24462 | 18 { |
pascal@24614 | 19 wget -O - http://linux-speakup.org/speakup.git/info/refs 2>/dev/null | \ |
pascal@24614 | 20 tail -n1 | sed 's|.*tags/v||' |
pascal@24462 | 21 } |
pascal@24462 | 22 |
slaxemulator@9176 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9176 | 24 genpkg_rules() |
slaxemulator@9176 | 25 { |
slaxemulator@9176 | 26 cd $src/tools |
slaxemulator@9176 | 27 install -D -m755 speakupconf "$fs/usr/bin/speakupconf" || return 1 |
slaxemulator@9176 | 28 install -D -m755 talkwith "$fs/usr/sbin/talkwith" || return 1 |
slaxemulator@9176 | 29 } |