wok-6.x annotate ttyrec/receipt @ rev 25085
gnumeric: added dependency goffice
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 17 06:26:00 2022 +0100 (2022-06-17) |
parents | bb6f99febef0 |
children |
rev | line source |
---|---|
pascal@17417 | 1 # SliTaz package receipt. |
pascal@17417 | 2 |
pascal@17417 | 3 PACKAGE="ttyrec" |
pascal@17417 | 4 VERSION="1.0.8" |
pascal@17417 | 5 CATEGORY="misc" |
pascal@17417 | 6 SHORT_DESC="A tty recorder." |
pascal@17417 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17417 | 8 LICENSE="BSD" |
pascal@17417 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17417 | 10 WEB_SITE="http://0xcc.net/ttyrec" |
pascal@17417 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@17417 | 12 |
pascal@24425 | 13 # What is the latest version available today? |
pascal@24425 | 14 current_version() |
pascal@24425 | 15 { |
pascal@24425 | 16 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 17 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 18 } |
pascal@24425 | 19 |
pascal@17417 | 20 # Rules to configure and make the package. |
pascal@17417 | 21 compile_rules() |
pascal@17417 | 22 { |
pascal@17417 | 23 make |
pascal@17417 | 24 } |
pascal@17417 | 25 |
pascal@17417 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17417 | 27 genpkg_rules() |
pascal@17417 | 28 { |
pascal@17417 | 29 mkdir -p $fs/usr/bin |
pascal@17417 | 30 cp -a $src/ttyrec $fs/usr/bin |
pascal@17417 | 31 cp -a $src/ttyplay $fs/usr/bin |
pascal@17417 | 32 cp -a $src/ttytime $fs/usr/bin |
pascal@17417 | 33 } |