# SliTaz package receipt. PACKAGE="fceux" VERSION="2.1.5" CATEGORY="games" SHORT_DESC="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support" MAINTAINER="slaxemulator@gmail.com" DEPENDS="libsdl lua gtk+" BUILD_DEPENDS="scons mesa-dev libsdl-dev lua-dev gtk+-dev zlib-dev" TARBALL="$PACKAGE-$VERSION.src.tar.bz2" WEB_SITE="http://fceux.com/web/home.html" WGET_URL="$SF_MIRROR/fceultra/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp scons sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct scons install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr }