wok-next annotate mupen64plus/receipt @ rev 14251
cookutils: remove mercurial dep, it add a lot of MB to the iso and is installed by a cooker setup
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 25 14:59:36 2013 +0100 (2013-03-25) |
parents | a0250385f2a5 |
children | bb009a6ef036 |
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 SOURCE="Mupen64Plus" |
slaxemulator@6800 | 9 TARBALL="$SOURCE-${VERSION//./-}-src.tar.gz" |
slaxemulator@6800 | 10 WEB_SITE="http://code.google.com/p/mupen64plus/" |
slaxemulator@6800 | 11 WGET_URL="http://mupen64plus.googlecode.com/files/$TARBALL" |
pascal@13041 | 12 TAGS="emulator nintendo64" |
slaxemulator@6800 | 13 |
pascal@13796 | 14 DEPENDS="gtk+ mesa libglu-mesa libsamplerate libsdl-ttf" |
pascal@13796 | 15 BUILD_DEPENDS="gtk+-dev mesa-dev libglu-mesa libglu-mesa-dev libsamplerate-dev \ |
pascal@13796 | 16 libsdl-dev libsdl-ttf-dev yasm pkg-config zlib-dev" |
pascal@13796 | 17 |
slaxemulator@6800 | 18 # Rules to configure and make the package. |
slaxemulator@6800 | 19 compile_rules() |
slaxemulator@6800 | 20 { |
slaxemulator@6800 | 21 cd $src |
slaxemulator@6800 | 22 |
slaxemulator@6800 | 23 # patching (provided by Yggdrasil) Thanks! Will remove when new version of mupen64plus comes out. |
slaxemulator@8751 | 24 patch -Np1 -i $stuff/const.patch |
slaxemulator@8751 | 25 patch -Np1 -i $stuff/blight-input-linking.patch |
slaxemulator@6800 | 26 # thanks to debian for having a patch :) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577329 |
slaxemulator@8751 | 27 patch -Np1 -i $stuff/ftbfs-gvariant-type-conflicts.patch |
slaxemulator@6800 | 28 |
slaxemulator@6800 | 29 make PREFIX=/usr all |
pascal@13796 | 30 mkdir -p $DESTDIR/usr/bin |
pascal@13796 | 31 make PREFIX=$DESTDIR/usr install |
slaxemulator@6800 | 32 } |
slaxemulator@6800 | 33 |
slaxemulator@6800 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6800 | 35 genpkg_rules() |
slaxemulator@6800 | 36 { |
slaxemulator@6800 | 37 mkdir -p $fs/usr/share |
pascal@13796 | 38 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 39 cp -a $install/usr/share/mupen64plus $fs/usr/share |
pascal@13796 | 40 cp -a $install/usr/share/applications $fs/usr/share |
slaxemulator@6800 | 41 } |
slaxemulator@6800 | 42 |