wok view mupen64plus/receipt @ rev 7149

Up: gnome-mplayer to 1.0.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 06 18:47:28 2010 +0000 (2010-11-06)
parents
children be13f25e790b
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 DEPENDS="gtk+ mesa libglu-mesa libsamplerate libsdl-ttf"
9 BUILD_DEPENDS="gtk+-dev mesa-dev libglu-mesa libsamplerate-dev libsdl-dev libsdl-ttf-dev yasm pkg-config zlib-dev"
10 SOURCE="Mupen64Plus"
11 TARBALL="$SOURCE-${VERSION//./-}-src.tar.gz"
12 WEB_SITE="http://code.google.com/p/mupen64plus/"
13 WGET_URL="http://mupen64plus.googlecode.com/files/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 src=$WOK/$PACKAGE/$SOURCE-${VERSION//./-}-src
19 cd $src
21 # patching (provided by Yggdrasil) Thanks! Will remove when new version of mupen64plus comes out.
22 patch -Np1 -i ../stuff/const.patch
23 patch -Np1 -i ../stuff/blight-input-linking.patch
24 # thanks to debian for having a patch :) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577329
25 patch -Np1 -i ../stuff/ftbfs-gvariant-type-conflicts.patch
27 make PREFIX=/usr all
28 mkdir -p $PWD/_pkg/usr/bin
29 make PREFIX=$PWD/_pkg/usr install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 _pkg=$WOK/$PACKAGE/$SOURCE-${VERSION//./-}-src/_pkg
36 mkdir -p $fs/usr/share
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/share/mupen64plus $fs/usr/share
39 cp -a $_pkg/usr/share/applications $fs/usr/share
40 }