wok-6.x annotate mupen64plus/receipt @ rev 16038
Packages a-e: update .desktop files for pt lang
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Sun Mar 09 06:29:42 2014 +0000 (2014-03-09) |
parents | 6b09507225ec |
children | 36c2b631aefd |
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" |
pascal@15583 | 8 LICENSE="GPL2" |
slaxemulator@6800 | 9 SOURCE="Mupen64Plus" |
slaxemulator@6800 | 10 TARBALL="$SOURCE-${VERSION//./-}-src.tar.gz" |
slaxemulator@6800 | 11 WEB_SITE="http://code.google.com/p/mupen64plus/" |
slaxemulator@6800 | 12 WGET_URL="http://mupen64plus.googlecode.com/files/$TARBALL" |
pascal@13041 | 13 TAGS="emulator nintendo64" |
slaxemulator@6800 | 14 |
pascal@13796 | 15 DEPENDS="gtk+ mesa libglu-mesa libsamplerate libsdl-ttf" |
pascal@13796 | 16 BUILD_DEPENDS="gtk+-dev mesa-dev libglu-mesa libglu-mesa-dev libsamplerate-dev \ |
pascal@13796 | 17 libsdl-dev libsdl-ttf-dev yasm pkg-config zlib-dev" |
pascal@13796 | 18 |
slaxemulator@6800 | 19 # Rules to configure and make the package. |
slaxemulator@6800 | 20 compile_rules() |
slaxemulator@6800 | 21 { |
slaxemulator@6800 | 22 cd $src |
slaxemulator@6800 | 23 |
slaxemulator@6800 | 24 # patching (provided by Yggdrasil) Thanks! Will remove when new version of mupen64plus comes out. |
slaxemulator@8751 | 25 patch -Np1 -i $stuff/const.patch |
slaxemulator@8751 | 26 patch -Np1 -i $stuff/blight-input-linking.patch |
slaxemulator@6800 | 27 # thanks to debian for having a patch :) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577329 |
slaxemulator@8751 | 28 patch -Np1 -i $stuff/ftbfs-gvariant-type-conflicts.patch |
slaxemulator@6800 | 29 |
slaxemulator@6800 | 30 make PREFIX=/usr all |
pascal@13796 | 31 mkdir -p $DESTDIR/usr/bin |
pascal@13796 | 32 make PREFIX=$DESTDIR/usr install |
slaxemulator@6800 | 33 } |
slaxemulator@6800 | 34 |
slaxemulator@6800 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6800 | 36 genpkg_rules() |
slaxemulator@6800 | 37 { |
slaxemulator@6800 | 38 mkdir -p $fs/usr/share |
pascal@13796 | 39 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 40 cp -a $install/usr/share/mupen64plus $fs/usr/share |
pascal@13796 | 41 cp -a $install/usr/share/applications $fs/usr/share |
slaxemulator@6800 | 42 } |
slaxemulator@6800 | 43 |