wok-6.x view mupen64plus/receipt @ rev 13796

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