wok-current annotate ttyrec/receipt @ rev 25652
Fix get-texlive for 2008 version, add collection-latex
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Feb 07 18:01:05 2024 +0000 (10 months ago) |
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 } |