wok-next diff fuse-emulator/receipt @ rev 19999

Up qedit, qbittorrent
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Oct 20 21:21:58 2017 +0200 (2017-10-20)
parents 408c87fa22ca
children 3d5fe73ca04f
line diff
     1.1 --- a/fuse-emulator/receipt	Sat Aug 10 17:48:05 2013 +0000
     1.2 +++ b/fuse-emulator/receipt	Fri Oct 20 21:21:58 2017 +0200
     1.3 @@ -1,34 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="fuse-emulator"
     1.8 -VERSION="1.0.0.1"
     1.9 +VERSION="1.4.0"
    1.10  CATEGORY="games"
    1.11  SHORT_DESC="ZX Spectrum emulator"
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 -# make SOURCE fuse-emulator so the source tarball 
    1.15 -# is not named fuse-$VERSION.tar.lzma
    1.16 -SOURCE="fuse-emulator"
    1.17 +WEB_SITE="http://fuse-emulator.sourceforge.net/fuse.php"
    1.18 +
    1.19  TARBALL="fuse-$VERSION.tar.gz"
    1.20 -WEB_SITE="http://fuse-emulator.sourceforge.net/fuse.php"
    1.21 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.22 -TAGS="emulator spectrum"
    1.23 +WGET_URL="$SF_MIRROR/fuse-emulator/$TARBALL"
    1.24  
    1.25 -DEPENDS="alsa-lib gtk+ libpng libspectrum libxml2"
    1.26 -BUILD_DEPENDS="alsa-lib-dev gtk+-dev libpng-dev libspectrum-dev libxml2-dev"
    1.27 +BUILD_DEPENDS="perl libspectrum-dev xorg-libX11-dev xorg-libICE-dev gtk+-dev \
    1.28 +alsa-lib-dev libsdl-dev"
    1.29  
    1.30 -# Rules to configure and make the package.
    1.31 -compile_rules()
    1.32 -{
    1.33 -	cd $src
    1.34 -	./configure $CONFIGURE_ARGS && make && make install
    1.35 +compile_rules() {
    1.36 +	./configure \
    1.37 +		--enable-desktop-integration \
    1.38 +		$CONFIGURE_ARGS &&
    1.39 +	make && make install
    1.40  }
    1.41  
    1.42 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.43 -genpkg_rules()
    1.44 -{
    1.45 -	mkdir -p $fs/usr/share
    1.46 -	cp -a $install/usr/bin $fs/usr
    1.47 -	cp -a $install/usr/share/fuse $fs/usr/share
    1.48 +genpkg_rules() {
    1.49 +	copy @std
    1.50 +	rm -r $fs/usr/share/icons; cook_copy_icons # only 16 and 48
    1.51 +	DEPENDS="alsa-lib atk audiofile bzlib cairo fontconfig freetype gdk-pixbuf \
    1.52 +	glib gtk+ libffi libgcrypt libgpg-error libharfbuzz liblzma libpng16 \
    1.53 +	libsdl libspectrum libxml2 pango pcre tslib util-linux-blkid \
    1.54 +	util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.55 +	xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman zlib"
    1.56 +	TAGS="emulator spectrum"
    1.57  }
    1.58 -