wok view fceux/receipt @ rev 12040

postfix: Improve receipt + fix addgroup command
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Mar 07 16:30:58 2012 +0100 (2012-03-07)
parents be13f25e790b
children c66f76c2afc9
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 cd $src
18 sed -i 's/void\* gzfile/gzFile_s* gzfile/' src/file.cpp
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 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }