wok-6.x view recordmydesktop/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | 3105f866bc3e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="recordmydesktop"
4 VERSION="0.4.0"
5 CATEGORY="misc"
6 TAGS="desktop"
7 SHORT_DESC="Desktop session recorder."
8 MAINTAINER="allan316@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://enselic.github.io/recordmydesktop/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/Enselic/$PACKAGE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="alsa-lib libtheora popt xorg-libICE xorg-libSM xorg-libX11 xorg-libXau
16 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes zlib"
17 BUILD_DEPENDS="alsa-lib-dev libogg-dev libtheora-dev libvorbis-dev popt-dev
18 xorg-damageproto xorg-fixesproto xorg-libICE-dev xorg-libSM-dev
19 xorg-libX11-dev xorg-libXdamage-dev xorg-libXext-dev
20 xorg-libXfixes-dev xorg-xextproto zlib-dev"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://sourceforge.net/projects/recordmydesktop/files/recordmydesktop/ 2>/dev/null | \
26 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
27 sed '/scope="row/!d;s|.*/recordmydesktop/||;s|/.*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 # 0.4.0 removed
34 # sed -i 's|shmstr.h|shmproto.h|g' src/*.h
35 # sed -i 's|shmstr.h|shmproto.h|g' src/*.c
37 ./configure \
38 --prefix=/usr \
39 --infodir=/usr/share/info \
40 --mandir=/usr/share/man \
41 $CONFIGURE_ARGS &&
42 make &&
43 make install DESTDIR=$DESTDIR
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 cook_copy_folders bin
50 }