wok-next annotate recordmydesktop/receipt @ rev 10416

db: Added cook_tmp_toolchain function to fix tazwok cook-toolchain.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 24 07:54:39 2011 +0000 (2011-05-24)
parents 4d9227d0f560
children de49f29b101e
rev   line source
allan316@1351 1 # SliTaz package receipt.
allan316@1351 2
allan316@1351 3 PACKAGE="recordmydesktop"
slaxemulator@6366 4 VERSION="0.3.8.1"
allan316@1351 5 CATEGORY="misc"
allan316@1351 6 SHORT_DESC="Desktop recording software"
allan316@1351 7 MAINTAINER="allan316@gmail.com"
slaxemulator@6366 8 BUILD_DEPENDS="alsa-lib-dev xorg-libX11-dev xorg-libICE-dev xorg-libSM-dev \
slaxemulator@6366 9 xorg-libXext-dev xorg-libXdamage-dev xorg-libXfixes-dev libogg libogg-dev \
slaxemulator@6366 10 libvorbis libvorbis-dev libtheora-dev zlib-dev xorg-xextproto xorg-libXfixes-dev \
slaxemulator@6366 11 xorg-fixesproto xorg-damageproto"
pascal@2447 12 DEPENDS="libtheora alsa-lib xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
pascal@2447 13 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes zlib"
allan316@1351 14 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@1351 15 WEB_SITE="http://recordmydesktop.sourceforge.net"
allan316@1351 16 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
jozee@4972 17 TAGS="desktop"
allan316@1351 18
allan316@1351 19 # Rules to configure and make the package.
allan316@1351 20 compile_rules()
allan316@1351 21 {
allan316@1351 22 cd $src
slaxemulator@6366 23 sed -i 's|shmstr.h|shmproto.h|g' src/*.h
slaxemulator@6366 24 sed -i 's|shmstr.h|shmproto.h|g' src/*.c
allan316@1351 25 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2447 26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2447 27 make &&
allan316@1351 28 make DESTDIR=$PWD/_pkg install
allan316@1351 29 }
allan316@1351 30
allan316@1351 31 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@1351 32 genpkg_rules()
allan316@1351 33 {
allan316@1351 34 mkdir -p $fs/usr
allan316@1351 35 cp -a $_pkg/usr/bin $fs/usr
allan316@1351 36 }
allan316@1351 37