wok-current view fceux/receipt @ rev 7317
Up: mono to 2.8.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 17 21:21:58 2010 +0000 (2010-11-17) |
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 }