wok-4.x annotate fuse-emulator/receipt @ rev 11612
nanochess: catch ?black arg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 21 15:34:54 2012 +0100 (2012-01-21) |
parents | 3d847ed49092 |
children |
rev | line source |
---|---|
slaxemulator@9457 | 1 # SliTaz package receipt. |
slaxemulator@9457 | 2 |
slaxemulator@9457 | 3 PACKAGE="fuse-emulator" |
slaxemulator@9457 | 4 VERSION="1.0.0.1" |
slaxemulator@9457 | 5 CATEGORY="games" |
slaxemulator@9457 | 6 SHORT_DESC="ZX Spectrum emulator" |
slaxemulator@9457 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9457 | 8 # make SOURCE fuse-emulator so the source tarball |
slaxemulator@9457 | 9 # is not named fuse-$VERSION.tar.lzma |
slaxemulator@9457 | 10 SOURCE="fuse-emulator" |
slaxemulator@9457 | 11 TARBALL="fuse-$VERSION.tar.gz" |
slaxemulator@9457 | 12 WEB_SITE="http://fuse-emulator.sourceforge.net/fuse.php" |
slaxemulator@9457 | 13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
slaxemulator@9457 | 14 |
pankso@9953 | 15 DEPENDS="alsa-lib gtk+ libpng libspectrum libxml2" |
pankso@9953 | 16 BUILD_DEPENDS="alsa-lib-dev gtk+-dev libpng-dev libspectrum-dev libxml2-dev" |
pankso@9953 | 17 |
slaxemulator@9457 | 18 # Rules to configure and make the package. |
slaxemulator@9457 | 19 compile_rules() |
slaxemulator@9457 | 20 { |
slaxemulator@9457 | 21 cd $src |
gokhlayeh@11573 | 22 ./configure $CONFIGURE_ARGS && make && make install |
slaxemulator@9457 | 23 } |
slaxemulator@9457 | 24 |
slaxemulator@9457 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9457 | 26 genpkg_rules() |
slaxemulator@9457 | 27 { |
slaxemulator@9457 | 28 mkdir -p $fs/usr/share |
slaxemulator@9457 | 29 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@9457 | 30 cp -a $_pkg/usr/share/fuse $fs/usr/share |
slaxemulator@9457 | 31 } |
slaxemulator@9457 | 32 |