wok-next annotate fuse-emulator/receipt @ rev 10863
Up: slitaz-doc (4.2) ready for RC
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 18 23:05:23 2011 +0200 (2011-06-18) |
parents | ce522e556202 |
children | b7319995b37e |
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 |
slaxemulator@9457 | 22 ./configure && 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 |