wok-current view mupen64plus/receipt @ rev 9223

Fix icedtea6; handle multi-sources using some new receipts
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 11 17:58:14 2011 +0100 (2011-03-11)
parents 1ac39c4ea23a
children a0250385f2a5
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 cd $src
20 # patching (provided by Yggdrasil) Thanks! Will remove when new version of mupen64plus comes out.
21 patch -Np1 -i $stuff/const.patch
22 patch -Np1 -i $stuff/blight-input-linking.patch
23 # thanks to debian for having a patch :) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577329
24 patch -Np1 -i $stuff/ftbfs-gvariant-type-conflicts.patch
26 make PREFIX=/usr all
27 mkdir -p $PWD/_pkg/usr/bin
28 make PREFIX=$PWD/_pkg/usr install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share/mupen64plus $fs/usr/share
37 cp -a $_pkg/usr/share/applications $fs/usr/share
38 }