wok view recordmydesktop/receipt @ rev 25623
created recipes for gtkam and gtkam-lang
author | Hans-G?nter Theisgen |
---|---|
date | Fri Sep 29 10:56:02 2023 +0100 (13 months ago) |
parents | 378d263061cd |
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 - ${WGET_URL%/down*} 2>/dev/null | \
26 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 # 0.4.0 removed
33 # sed -i 's|shmstr.h|shmproto.h|g' src/*.h
34 # sed -i 's|shmstr.h|shmproto.h|g' src/*.c
36 ./configure \
37 --prefix=/usr \
38 --infodir=/usr/share/info \
39 --mandir=/usr/share/man \
40 $CONFIGURE_ARGS &&
41 make &&
42 make install DESTDIR=$DESTDIR
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 cook_copy_folders bin
49 }