wok-current view recordmydesktop/receipt @ rev 24885

updated mcabber (0.9.10 -> 1.1.2)
author Hans-G?nter Theisgen
date Fri Apr 01 07:52:41 2022 +0100 (2022-04-01)
parents de49f29b101e
children 378d263061cd
line source
1 # SliTaz package receipt.
3 PACKAGE="recordmydesktop"
4 VERSION="0.3.8.1"
5 CATEGORY="misc"
6 SHORT_DESC="Desktop recording software"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://recordmydesktop.sourceforge.net"
11 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
12 TAGS="desktop"
14 BUILD_DEPENDS="alsa-lib-dev xorg-libX11-dev xorg-libICE-dev xorg-libSM-dev \
15 xorg-libXext-dev xorg-libXdamage-dev xorg-libXfixes-dev libogg libogg-dev \
16 libvorbis libvorbis-dev libtheora-dev zlib-dev xorg-xextproto xorg-libXfixes-dev \
17 xorg-fixesproto xorg-damageproto"
18 DEPENDS="libtheora alsa-lib xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
19 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes zlib"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/recordmydesktop/files/recordmydesktop/ 2>/dev/null | \
25 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
26 sed '/scope="row/!d;s|.*/recordmydesktop/||;s|/.*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 cd $src
33 sed -i 's|shmstr.h|shmproto.h|g' src/*.h
34 sed -i 's|shmstr.h|shmproto.h|g' src/*.c
35 ./configure --prefix=/usr --infodir=/usr/share/info \
36 --mandir=/usr/share/man $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
45 cp -a $install/usr/bin $fs/usr
46 }