wok-current annotate scummvm/receipt @ rev 24283

updated scummvm (2.1.2 -> 2.5.1)
author Hans-G?nter Theisgen
date Wed Jan 12 15:42:09 2022 +0100 (2022-01-12)
parents a5ef19f1580a
children 1df6fa555414
rev   line source
gokhlayeh@6432 1 # SliTaz package receipt.
gokhlayeh@6432 2
gokhlayeh@6432 3 PACKAGE="scummvm"
Hans-G?nter@24283 4 VERSION="2.5.1"
gokhlayeh@6432 5 CATEGORY="games"
gokhlayeh@6432 6 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games."
admin@13392 7 MAINTAINER="admin@trixarian.net"
pascal@15002 8 LICENSE="GPL2"
pascal@20679 9 WEB_SITE="https://www.scummvm.org/"
Hans-G?nter@21895 10
Hans-G?nter@21895 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21895 12 WGET_URL="${WEB_SITE}frs/$PACKAGE/$VERSION/$TARBALL"
Hans-G?nter@21895 13
Hans-G?nter@24283 14 DEPENDS="alsa-lib flac gcc83-lib-base libmad libmpeg2 libogg libsdl2 libvorbis zlib"
Hans-G?nter@24283 15 BUILD_DEPENDS="alsa-lib-dev flac-dev gcc83 libmad-dev libmpeg2-dev libogg-dev
Hans-G?nter@23635 16 libsdl2-dev libvorbis-dev zlib-dev"
Hans-G?nter@21895 17
slaxemulator@10974 18 CROSS="bug: Doesn't support --build."
pascal@15002 19
gokhlayeh@6432 20 # Rules to configure and make the package.
gokhlayeh@6432 21 compile_rules()
gokhlayeh@6432 22 {
Hans-G?nter@24283 23 export CC=gcc-83
Hans-G?nter@24283 24 export CXX=g++-83
Hans-G?nter@24283 25
Hans-G?nter@21895 26 ./configure \
Hans-G?nter@21895 27 --prefix=/usr \
Hans-G?nter@21895 28 --datadir=/usr/games/scummvm \
Hans-G?nter@21895 29 --backend=sdl \
Hans-G?nter@21895 30 --disable-debug \
Hans-G?nter@21895 31 --with-flac-prefix=/usr \
Hans-G?nter@21895 32 --disable-fluidsynth \
slaxemulator@10345 33 --host=$HOST_SYSTEM &&
Hans-G?nter@21895 34 make &&
Hans-G?nter@21895 35 make install &&
Hans-G?nter@21895 36 {
Hans-G?nter@21895 37 mkdir -p $DESTDIR/usr/share/applications
Hans-G?nter@24283 38 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
pascal@9031 39 }
gokhlayeh@6432 40 }
gokhlayeh@6432 41
gokhlayeh@6432 42 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@6432 43 genpkg_rules()
gokhlayeh@6432 44 {
Hans-G?nter@21895 45 mkdir -p $fs/usr/share/applications
Hans-G?nter@21895 46 mkdir -p $fs/usr/games
Hans-G?nter@21895 47
Hans-G?nter@21895 48 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21895 49 cp -a $install/usr/games/scummvm $fs/usr/games
Hans-G?nter@21895 50 cp -a $install/usr/share/applications/scummvm.desktop \
Hans-G?nter@21895 51 $fs/usr/share/applications
gokhlayeh@6432 52 }