wok annotate mupen64plus/receipt @ rev 10512

libmpeg2: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 15:48:01 2011 +0200 (2011-05-25)
parents 1ac39c4ea23a
children a0250385f2a5
rev   line source
slaxemulator@6800 1 # SliTaz package receipt.
slaxemulator@6800 2
slaxemulator@6800 3 PACKAGE="mupen64plus"
slaxemulator@6800 4 VERSION="1.5"
slaxemulator@6800 5 CATEGORY="games"
slaxemulator@6800 6 SHORT_DESC="Nintendo64 Emulator"
slaxemulator@6800 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6800 8 DEPENDS="gtk+ mesa libglu-mesa libsamplerate libsdl-ttf"
slaxemulator@6800 9 BUILD_DEPENDS="gtk+-dev mesa-dev libglu-mesa libsamplerate-dev libsdl-dev libsdl-ttf-dev yasm pkg-config zlib-dev"
slaxemulator@6800 10 SOURCE="Mupen64Plus"
slaxemulator@6800 11 TARBALL="$SOURCE-${VERSION//./-}-src.tar.gz"
slaxemulator@6800 12 WEB_SITE="http://code.google.com/p/mupen64plus/"
slaxemulator@6800 13 WGET_URL="http://mupen64plus.googlecode.com/files/$TARBALL"
slaxemulator@6800 14
slaxemulator@6800 15 # Rules to configure and make the package.
slaxemulator@6800 16 compile_rules()
slaxemulator@6800 17 {
slaxemulator@6800 18 cd $src
slaxemulator@6800 19
slaxemulator@6800 20 # patching (provided by Yggdrasil) Thanks! Will remove when new version of mupen64plus comes out.
slaxemulator@8751 21 patch -Np1 -i $stuff/const.patch
slaxemulator@8751 22 patch -Np1 -i $stuff/blight-input-linking.patch
slaxemulator@6800 23 # thanks to debian for having a patch :) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577329
slaxemulator@8751 24 patch -Np1 -i $stuff/ftbfs-gvariant-type-conflicts.patch
slaxemulator@6800 25
slaxemulator@6800 26 make PREFIX=/usr all
slaxemulator@6800 27 mkdir -p $PWD/_pkg/usr/bin
slaxemulator@6800 28 make PREFIX=$PWD/_pkg/usr install
slaxemulator@6800 29 }
slaxemulator@6800 30
slaxemulator@6800 31 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6800 32 genpkg_rules()
slaxemulator@6800 33 {
slaxemulator@6800 34 mkdir -p $fs/usr/share
slaxemulator@6800 35 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6800 36 cp -a $_pkg/usr/share/mupen64plus $fs/usr/share
slaxemulator@6800 37 cp -a $_pkg/usr/share/applications $fs/usr/share
slaxemulator@6800 38 }
slaxemulator@6800 39