wok-current diff scummvm/receipt @ rev 23006
consonance: inserted LDFLAGS
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 03 06:48:05 2020 +0100 (2020-03-03) |
parents | 6135577f4d08 |
children | a5ef19f1580a |
line diff
1.1 --- a/scummvm/receipt Sat Jan 26 12:26:47 2019 +0100 1.2 +++ b/scummvm/receipt Tue Mar 03 06:48:05 2020 +0100 1.3 @@ -1,42 +1,49 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="scummvm" 1.7 -VERSION="1.6.0" 1.8 +VERSION="2.0.0" 1.9 CATEGORY="games" 1.10 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games." 1.11 MAINTAINER="admin@trixarian.net" 1.12 LICENSE="GPL2" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 WEB_SITE="https://www.scummvm.org/" 1.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 + 1.17 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.18 +WGET_URL="${WEB_SITE}frs/$PACKAGE/$VERSION/$TARBALL" 1.19 + 1.20 +DEPENDS="alsa-lib flac gcc-lib-base libmad libmpeg2 libogg libsdl libvorbis zlib" 1.21 +BUILD_DEPENDS="alsa-lib-dev flac-dev libmad-dev libmpeg2-dev libogg-dev \ 1.22 + libsdl-dev libvorbis-dev zlib-dev" 1.23 + 1.24 CROSS="bug: Doesn't support --build." 1.25 1.26 -DEPENDS="gcc-lib-base alsa-lib libmad libmpeg2 libogg libsdl libvorbis flac zlib" 1.27 -BUILD_DEPENDS="alsa-lib-dev libmad-dev libmpeg2-dev libogg-dev libsdl-dev libvorbis-dev flac-dev zlib-dev" 1.28 - 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 { 1.32 - cd $src 1.33 - ./configure \ 1.34 - --prefix=/usr \ 1.35 - --datadir=/usr/games/scummvm \ 1.36 - --backend=sdl --disable-debug \ 1.37 - --with-flac-prefix=/usr \ 1.38 - --disable-fluidsynth \ 1.39 + ./configure \ 1.40 + --prefix=/usr \ 1.41 + --datadir=/usr/games/scummvm \ 1.42 + --backend=sdl \ 1.43 + --disable-debug \ 1.44 + --with-flac-prefix=/usr \ 1.45 + --disable-fluidsynth \ 1.46 --host=$HOST_SYSTEM && 1.47 - make && make install && { 1.48 - mkdir -p $DESTDIR/usr/share/applications 1.49 - cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications 1.50 + make && 1.51 + make install && 1.52 + { 1.53 + mkdir -p $DESTDIR/usr/share/applications 1.54 + cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications 1.55 } 1.56 } 1.57 1.58 # Rules to gen a SliTaz package suitable for Tazpkg. 1.59 genpkg_rules() 1.60 { 1.61 - mkdir -p $fs/usr/share/applications $fs/usr/games 1.62 - cp -a $install/usr/bin $fs/usr 1.63 - cp -a $install/usr/games/scummvm $fs/usr/games 1.64 - cp -a $install/usr/share/applications/scummvm.desktop $fs/usr/share/applications 1.65 + mkdir -p $fs/usr/share/applications 1.66 + mkdir -p $fs/usr/games 1.67 + 1.68 + cp -a $install/usr/bin $fs/usr 1.69 + cp -a $install/usr/games/scummvm $fs/usr/games 1.70 + cp -a $install/usr/share/applications/scummvm.desktop \ 1.71 + $fs/usr/share/applications 1.72 } 1.73 -