wok view mupen64plus/receipt @ rev 13518
Up p910nd (0.95)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 19 12:24:13 2012 +0200 (2012-10-19) |
parents | be13f25e790b |
children | 6b09507225ec |
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"
14 TAGS="emulator nintendo64"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
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 mkdir -p $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/share/mupen64plus $fs/usr/share
38 cp -a $_pkg/usr/share/applications $fs/usr/share
39 }