wok-current annotate fceux/receipt @ rev 7663

Up: freeciv to 2.2.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 09:03:01 2010 +0000 (2010-12-16)
parents
children be13f25e790b
rev   line source
slaxemulator@7174 1 # SliTaz package receipt.
slaxemulator@7174 2
slaxemulator@7174 3 PACKAGE="fceux"
slaxemulator@7174 4 VERSION="2.1.4a"
slaxemulator@7174 5 CATEGORY="games"
slaxemulator@7174 6 SHORT_DESC="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support"
slaxemulator@7174 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@7174 8 DEPENDS="libsdl lua gtk+"
slaxemulator@7174 9 BUILD_DEPENDS="scons mesa-dev libsdl-dev lua-dev gtk+-dev zlib-dev"
slaxemulator@7174 10 TARBALL="$PACKAGE-$VERSION.src.tar.bz2"
slaxemulator@7174 11 WEB_SITE="http://fceux.com/web/home.html"
slaxemulator@7174 12 WGET_URL="$SF_MIRROR/fceultra/$TARBALL"
slaxemulator@7174 13
slaxemulator@7174 14 # Rules to configure and make the package.
slaxemulator@7174 15 compile_rules()
slaxemulator@7174 16 {
slaxemulator@7174 17 src=$WOK/$PACKAGE/fceu${VERSION}
slaxemulator@7174 18 cd $src
slaxemulator@7174 19 scons
slaxemulator@7174 20
slaxemulator@7174 21 sed -i "s|/usr/local|$PWD/_pkg/usr|" SConstruct
slaxemulator@7174 22 scons install
slaxemulator@7174 23 }
slaxemulator@7174 24
slaxemulator@7174 25 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7174 26 genpkg_rules()
slaxemulator@7174 27 {
slaxemulator@7174 28 _pkg=$WOK/$PACKAGE/fceu${VERSION}/_pkg
slaxemulator@7174 29 mkdir -p $fs/usr
slaxemulator@7174 30 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@7174 31 }
slaxemulator@7174 32