wok-next diff scummvm/receipt @ rev 20663

Fix web site for the Shimmer Project themes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 10 22:58:32 2018 +0300 (2018-05-10)
parents 051931e905b0
children 7506b35e1c6f
line diff
     1.1 --- a/scummvm/receipt	Fri Dec 06 10:39:07 2013 +0000
     1.2 +++ b/scummvm/receipt	Thu May 10 22:58:32 2018 +0300
     1.3 @@ -1,42 +1,37 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="scummvm"
     1.8  VERSION="1.6.0"
     1.9  CATEGORY="games"
    1.10 -SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games."
    1.11 +SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click \
    1.12 +adventure games"
    1.13  MAINTAINER="admin@trixarian.net"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="http://www.scummvm.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="http://www.scummvm.org/"
    1.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20 +
    1.21 +BUILD_DEPENDS="alsa-lib-dev libmad-dev libmpeg2-dev libogg-dev libsdl-dev \
    1.22 +libvorbis-dev flac-dev zlib-dev"
    1.23  CROSS="bug: Doesn't support --build."
    1.24  
    1.25 -DEPENDS="gcc-lib-base alsa-lib libmad libmpeg2 libogg libsdl libvorbis flac zlib"
    1.26 -BUILD_DEPENDS="alsa-lib-dev libmad-dev libmpeg2-dev libogg-dev libsdl-dev libvorbis-dev flac-dev zlib-dev"
    1.27 -
    1.28 -# Rules to configure and make the package.
    1.29 -compile_rules()
    1.30 -{
    1.31 -	cd $src
    1.32 +compile_rules() {
    1.33  	./configure \
    1.34  		--prefix=/usr \
    1.35  		--datadir=/usr/games/scummvm \
    1.36 -		--backend=sdl --disable-debug \
    1.37 +		--backend=sdl \
    1.38 +		--disable-debug \
    1.39  		--with-flac-prefix=/usr \
    1.40  		--disable-fluidsynth \
    1.41  		--host=$HOST_SYSTEM &&
    1.42 -	make && make install && {
    1.43 -		mkdir -p $DESTDIR/usr/share/applications
    1.44 -		cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications		
    1.45 -	}
    1.46 +	make && make install || return 1
    1.47 +
    1.48 +	mkdir -p $DESTDIR/usr/share/applications
    1.49 +	cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
    1.50  }
    1.51  
    1.52 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.53 -genpkg_rules()
    1.54 -{
    1.55 -	mkdir -p $fs/usr/share/applications $fs/usr/games
    1.56 -	cp -a $install/usr/bin $fs/usr
    1.57 -	cp -a $install/usr/games/scummvm $fs/usr/games
    1.58 -	cp -a $install/usr/share/applications/scummvm.desktop $fs/usr/share/applications
    1.59 +genpkg_rules() {
    1.60 +	copy @std
    1.61 +	DEPENDS="alsa-lib libmad libmpeg2 libogg libsdl libvorbis flac zlib"
    1.62  }
    1.63 -