wok-current view fceux/receipt @ rev 12191

Add pwauth (use system passwd to auth user, maybe used in our CGI tools)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 26 01:27:26 2012 +0200 (2012-03-26)
parents c66f76c2afc9
children f3291115c86b
line source
1 # SliTaz package receipt.
3 PACKAGE="fceux"
4 VERSION="2.1.5"
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 cd $src
18 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp
19 scons
21 sed -i "s|/usr/local|$DESTDIR/usr|" SConstruct
22 scons install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }