wok-next diff mupen64plus/receipt @ rev 7899

fix-bdep: kbd
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Jan 09 14:25:20 2011 +0100 (2011-01-09)
parents
children be13f25e790b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mupen64plus/receipt	Sun Jan 09 14:25:20 2011 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mupen64plus"
     1.7 +VERSION="1.5"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Nintendo64 Emulator"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="gtk+ mesa libglu-mesa libsamplerate libsdl-ttf"
    1.12 +BUILD_DEPENDS="gtk+-dev mesa-dev libglu-mesa libsamplerate-dev libsdl-dev libsdl-ttf-dev yasm pkg-config zlib-dev"
    1.13 +SOURCE="Mupen64Plus"
    1.14 +TARBALL="$SOURCE-${VERSION//./-}-src.tar.gz"
    1.15 +WEB_SITE="http://code.google.com/p/mupen64plus/"
    1.16 +WGET_URL="http://mupen64plus.googlecode.com/files/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	src=$WOK/$PACKAGE/$SOURCE-${VERSION//./-}-src
    1.22 +	cd $src
    1.23 +
    1.24 +	# patching (provided by Yggdrasil) Thanks! Will remove when new version of mupen64plus comes out.
    1.25 +	patch -Np1 -i ../stuff/const.patch
    1.26 +	patch -Np1 -i ../stuff/blight-input-linking.patch
    1.27 +	# thanks to debian for having a patch :) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577329
    1.28 +	patch -Np1 -i ../stuff/ftbfs-gvariant-type-conflicts.patch
    1.29 +
    1.30 +	make PREFIX=/usr all
    1.31 +	mkdir -p $PWD/_pkg/usr/bin
    1.32 +	make PREFIX=$PWD/_pkg/usr install
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	_pkg=$WOK/$PACKAGE/$SOURCE-${VERSION//./-}-src/_pkg
    1.39 +	mkdir -p $fs/usr/share
    1.40 +	cp -a $_pkg/usr/bin $fs/usr
    1.41 +	cp -a $_pkg/usr/share/mupen64plus $fs/usr/share
    1.42 +	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.43 +}
    1.44 +