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