wok-6.x annotate fuse-emulator/receipt @ rev 14431
wxWidgets: fix compiles-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 24 16:10:28 2013 +0200 (2013-04-24) |
parents | b7319995b37e |
children | 408c87fa22ca |
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" |
pascal@13041 | 14 TAGS="emulator spectrum" |
slaxemulator@9457 | 15 |
pankso@9953 | 16 DEPENDS="alsa-lib gtk+ libpng libspectrum libxml2" |
pankso@9953 | 17 BUILD_DEPENDS="alsa-lib-dev gtk+-dev libpng-dev libspectrum-dev libxml2-dev" |
pankso@9953 | 18 |
slaxemulator@9457 | 19 # Rules to configure and make the package. |
slaxemulator@9457 | 20 compile_rules() |
slaxemulator@9457 | 21 { |
slaxemulator@9457 | 22 cd $src |
gokhlayeh@11573 | 23 ./configure $CONFIGURE_ARGS && make && make install |
slaxemulator@9457 | 24 } |
slaxemulator@9457 | 25 |
slaxemulator@9457 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9457 | 27 genpkg_rules() |
slaxemulator@9457 | 28 { |
slaxemulator@9457 | 29 mkdir -p $fs/usr/share |
slaxemulator@9457 | 30 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@9457 | 31 cp -a $_pkg/usr/share/fuse $fs/usr/share |
slaxemulator@9457 | 32 } |
slaxemulator@9457 | 33 |