wok-current view fceux/receipt @ rev 7702

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