wok-current view mupen64plus/receipt @ rev 15702
Up: udevil (0.4.3)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 22 15:11:57 2013 +0100 (2013-12-22) |
parents | 6b09507225ec |
children | 36c2b631aefd |
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 LICENSE="GPL2"
9 SOURCE="Mupen64Plus"
10 TARBALL="$SOURCE-${VERSION//./-}-src.tar.gz"
11 WEB_SITE="http://code.google.com/p/mupen64plus/"
12 WGET_URL="http://mupen64plus.googlecode.com/files/$TARBALL"
13 TAGS="emulator nintendo64"
15 DEPENDS="gtk+ mesa libglu-mesa libsamplerate libsdl-ttf"
16 BUILD_DEPENDS="gtk+-dev mesa-dev libglu-mesa libglu-mesa-dev libsamplerate-dev \
17 libsdl-dev libsdl-ttf-dev yasm pkg-config zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
24 # patching (provided by Yggdrasil) Thanks! Will remove when new version of mupen64plus comes out.
25 patch -Np1 -i $stuff/const.patch
26 patch -Np1 -i $stuff/blight-input-linking.patch
27 # thanks to debian for having a patch :) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577329
28 patch -Np1 -i $stuff/ftbfs-gvariant-type-conflicts.patch
30 make PREFIX=/usr all
31 mkdir -p $DESTDIR/usr/bin
32 make PREFIX=$DESTDIR/usr install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/mupen64plus $fs/usr/share
41 cp -a $install/usr/share/applications $fs/usr/share
42 }