wok-6.x annotate fceux/receipt @ rev 10373
rox-filer: dont be stuck when compileling
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 12:26:03 2011 +0200 (2011-05-23) |
parents | a2c87747fa7f |
children | a5d1efde3327 |
rev | line source |
---|---|
slaxemulator@7174 | 1 # SliTaz package receipt. |
slaxemulator@7174 | 2 |
slaxemulator@7174 | 3 PACKAGE="fceux" |
slaxemulator@7174 | 4 VERSION="2.1.4a" |
slaxemulator@7174 | 5 CATEGORY="games" |
slaxemulator@7174 | 6 SHORT_DESC="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support" |
slaxemulator@7174 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7174 | 8 DEPENDS="libsdl lua gtk+" |
slaxemulator@7174 | 9 BUILD_DEPENDS="scons mesa-dev libsdl-dev lua-dev gtk+-dev zlib-dev" |
slaxemulator@7174 | 10 TARBALL="$PACKAGE-$VERSION.src.tar.bz2" |
slaxemulator@7174 | 11 WEB_SITE="http://fceux.com/web/home.html" |
slaxemulator@7174 | 12 WGET_URL="$SF_MIRROR/fceultra/$TARBALL" |
slaxemulator@7174 | 13 |
slaxemulator@7174 | 14 # Rules to configure and make the package. |
slaxemulator@7174 | 15 compile_rules() |
slaxemulator@7174 | 16 { |
slaxemulator@7174 | 17 cd $src |
slaxemulator@7174 | 18 scons |
slaxemulator@7174 | 19 |
slaxemulator@7174 | 20 sed -i "s|/usr/local|$PWD/_pkg/usr|" SConstruct |
slaxemulator@7174 | 21 scons install |
slaxemulator@7174 | 22 } |
slaxemulator@7174 | 23 |
slaxemulator@7174 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7174 | 25 genpkg_rules() |
slaxemulator@7174 | 26 { |
slaxemulator@7174 | 27 mkdir -p $fs/usr |
slaxemulator@7174 | 28 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7174 | 29 } |
slaxemulator@7174 | 30 |