wok-current annotate fuse-emulator/receipt @ rev 9457

Add fuse-emulator and libspectrum.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Apr 03 07:29:03 2011 +0000 (2011-04-03)
parents
children 3d847ed49092
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 DEPENDS="alsa-lib gtk+ libpng libspectrum libxml2"
slaxemulator@9457 9 # make SOURCE fuse-emulator so the source tarball
slaxemulator@9457 10 # is not named fuse-$VERSION.tar.lzma
slaxemulator@9457 11 SOURCE="fuse-emulator"
slaxemulator@9457 12 TARBALL="fuse-$VERSION.tar.gz"
slaxemulator@9457 13 WEB_SITE="http://fuse-emulator.sourceforge.net/fuse.php"
slaxemulator@9457 14 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
slaxemulator@9457 15
slaxemulator@9457 16 # Rules to configure and make the package.
slaxemulator@9457 17 compile_rules()
slaxemulator@9457 18 {
slaxemulator@9457 19 cd $src
slaxemulator@9457 20 ./configure && make && make install
slaxemulator@9457 21 }
slaxemulator@9457 22
slaxemulator@9457 23 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9457 24 genpkg_rules()
slaxemulator@9457 25 {
slaxemulator@9457 26 mkdir -p $fs/usr/share
slaxemulator@9457 27 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@9457 28 cp -a $_pkg/usr/share/fuse $fs/usr/share
slaxemulator@9457 29 }
slaxemulator@9457 30