wok-current view recordmydesktop/receipt @ rev 25721
Update slitaz-i18n for gnumeric
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Jun 18 11:25:19 2024 +0000 (4 months ago) |
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 }