wok-6.x diff fceux/receipt @ rev 8225

imported patch cleanup/libdevmapper-dev.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents
children be13f25e790b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fceux/receipt	Thu Jan 27 00:20:50 2011 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fceux"
     1.7 +VERSION="2.1.4a"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="libsdl lua gtk+"
    1.12 +BUILD_DEPENDS="scons mesa-dev libsdl-dev lua-dev gtk+-dev zlib-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.src.tar.bz2"
    1.14 +WEB_SITE="http://fceux.com/web/home.html"
    1.15 +WGET_URL="$SF_MIRROR/fceultra/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	src=$WOK/$PACKAGE/fceu${VERSION}
    1.21 +	cd $src
    1.22 +	scons
    1.23 +
    1.24 +	sed -i "s|/usr/local|$PWD/_pkg/usr|" SConstruct
    1.25 +	scons install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	_pkg=$WOK/$PACKAGE/fceu${VERSION}/_pkg
    1.32 +	mkdir -p $fs/usr
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +}
    1.35 +