wok-current view x11rec/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 3224f68a9d14
children
line source
1 # SliTaz package receipt.
3 PACKAGE="x11rec"
4 VERSION="0.3"
5 CATEGORY="x-window"
6 SHORT_DESC="A very ad hoc X11 recorder."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://0xcc.net/x11rec"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="ruby imagemagick xorg-xwininfo gifsicle"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
19 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $src/x11rec $fs/usr/bin
27 }