wok-4.x annotate mupen64plus/receipt @ rev 7842

Up: supertux to 0.3.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Dec 28 01:46:45 2010 +0000 (2010-12-28)
parents
children be13f25e790b
rev   line source
slaxemulator@6800 1 # SliTaz package receipt.
slaxemulator@6800 2
slaxemulator@6800 3 PACKAGE="mupen64plus"
slaxemulator@6800 4 VERSION="1.5"
slaxemulator@6800 5 CATEGORY="games"
slaxemulator@6800 6 SHORT_DESC="Nintendo64 Emulator"
slaxemulator@6800 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6800 8 DEPENDS="gtk+ mesa libglu-mesa libsamplerate libsdl-ttf"
slaxemulator@6800 9 BUILD_DEPENDS="gtk+-dev mesa-dev libglu-mesa libsamplerate-dev libsdl-dev libsdl-ttf-dev yasm pkg-config zlib-dev"
slaxemulator@6800 10 SOURCE="Mupen64Plus"
slaxemulator@6800 11 TARBALL="$SOURCE-${VERSION//./-}-src.tar.gz"
slaxemulator@6800 12 WEB_SITE="http://code.google.com/p/mupen64plus/"
slaxemulator@6800 13 WGET_URL="http://mupen64plus.googlecode.com/files/$TARBALL"
slaxemulator@6800 14
slaxemulator@6800 15 # Rules to configure and make the package.
slaxemulator@6800 16 compile_rules()
slaxemulator@6800 17 {
slaxemulator@6800 18 src=$WOK/$PACKAGE/$SOURCE-${VERSION//./-}-src
slaxemulator@6800 19 cd $src
slaxemulator@6800 20
slaxemulator@6800 21 # patching (provided by Yggdrasil) Thanks! Will remove when new version of mupen64plus comes out.
slaxemulator@6800 22 patch -Np1 -i ../stuff/const.patch
slaxemulator@6800 23 patch -Np1 -i ../stuff/blight-input-linking.patch
slaxemulator@6800 24 # thanks to debian for having a patch :) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577329
slaxemulator@6800 25 patch -Np1 -i ../stuff/ftbfs-gvariant-type-conflicts.patch
slaxemulator@6800 26
slaxemulator@6800 27 make PREFIX=/usr all
slaxemulator@6800 28 mkdir -p $PWD/_pkg/usr/bin
slaxemulator@6800 29 make PREFIX=$PWD/_pkg/usr install
slaxemulator@6800 30 }
slaxemulator@6800 31
slaxemulator@6800 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6800 33 genpkg_rules()
slaxemulator@6800 34 {
slaxemulator@6800 35 _pkg=$WOK/$PACKAGE/$SOURCE-${VERSION//./-}-src/_pkg
slaxemulator@6800 36 mkdir -p $fs/usr/share
slaxemulator@6800 37 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6800 38 cp -a $_pkg/usr/share/mupen64plus $fs/usr/share
slaxemulator@6800 39 cp -a $_pkg/usr/share/applications $fs/usr/share
slaxemulator@6800 40 }
slaxemulator@6800 41