# SliTaz package receipt. PACKAGE="mupen64plus" VERSION="1.5" CATEGORY="games" SHORT_DESC="Nintendo64 Emulator" MAINTAINER="slaxemulator@gmail.com" DEPENDS="gtk+ mesa libglu-mesa libsamplerate libsdl-ttf" BUILD_DEPENDS="gtk+-dev mesa-dev libglu-mesa libsamplerate-dev libsdl-dev libsdl-ttf-dev yasm pkg-config zlib-dev" SOURCE="Mupen64Plus" TARBALL="$SOURCE-${VERSION//./-}-src.tar.gz" WEB_SITE="http://code.google.com/p/mupen64plus/" WGET_URL="http://mupen64plus.googlecode.com/files/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src # patching (provided by Yggdrasil) Thanks! Will remove when new version of mupen64plus comes out. patch -Np1 -i $stuff/const.patch patch -Np1 -i $stuff/blight-input-linking.patch # thanks to debian for having a patch :) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577329 patch -Np1 -i $stuff/ftbfs-gvariant-type-conflicts.patch make PREFIX=/usr all mkdir -p $PWD/_pkg/usr/bin make PREFIX=$PWD/_pkg/usr install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/mupen64plus $fs/usr/share cp -a $_pkg/usr/share/applications $fs/usr/share }