wok view recordmydesktop/receipt @ rev 12085
fpm2: Make sure /usr folder exist before copying /usr/bin folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 09 21:47:23 2012 -0500 (2012-03-09) |
parents | 4d9227d0f560 |
children | de49f29b101e |
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 }