wok view recordmydesktop/receipt @ rev 9287
xfsprogs: partial workaround for compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 16 18:30:53 2011 +0100 (2011-03-16) |
parents | 932522d70bdb |
children | 02bbaa9d12ba |
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 BUILD_DEPENDS="alsa-lib-dev xorg-libX11-dev xorg-libICE-dev xorg-libSM-dev \
9 xorg-libXext-dev xorg-libXdamage-dev xorg-libXfixes-dev libogg libogg-dev \
10 libvorbis libvorbis-dev libtheora-dev zlib-dev xorg-xextproto xorg-libXfixes-dev \
11 xorg-fixesproto xorg-damageproto"
12 DEPENDS="libtheora alsa-lib xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
13 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes zlib"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WEB_SITE="http://recordmydesktop.sourceforge.net"
16 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
17 TAGS="desktop"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i 's|shmstr.h|shmproto.h|g' src/*.h
24 sed -i 's|shmstr.h|shmproto.h|g' src/*.c
25 ./configure --prefix=/usr --infodir=/usr/share/info \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $_pkg/usr/bin $fs/usr
36 strip -s $fs/usr/bin/*
37 }