wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="scummvm"
4 VERSION="2.5.1"
5 CATEGORY="games"
6 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games."
7 MAINTAINER="admin@trixarian.net"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.scummvm.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}frs/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="alsa-lib flac gcc83-lib-base libmad libmpeg2 libogg libsdl2 libvorbis zlib"
15 BUILD_DEPENDS="alsa-lib-dev flac-dev gcc83 libmad-dev libmpeg2-dev libogg-dev
16 libsdl2-dev libvorbis-dev zlib-dev"
18 CROSS="bug: Doesn't support --build."
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 export CC=gcc-83
24 export CXX=g++-83
26 ./configure \
27 --prefix=/usr \
28 --datadir=/usr/games/scummvm \
29 --backend=sdl \
30 --disable-debug \
31 --with-flac-prefix=/usr \
32 --disable-fluidsynth \
33 --host=$HOST_SYSTEM &&
34 make &&
35 make install &&
36 {
37 mkdir -p $DESTDIR/usr/share/applications
38 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
39 }
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/share/applications
46 mkdir -p $fs/usr/games
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/games/scummvm $fs/usr/games
50 cp -a $install/usr/share/applications/scummvm.desktop \
51 $fs/usr/share/applications
52 }