wok-6.x view x11rec/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 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 }