wok-6.x view fceux/receipt @ rev 8701

add: nagvis{-doc,-flex}
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 17 23:11:32 2011 +0100 (2011-02-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 }