wok-current view scummvm/receipt @ rev 24084

libjson-c-dev: fix version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 13:06:31 2021 +0000 (2021-07-10)
parents 3e5628bfe347
children 0817aa6c98ce
line source
1 # SliTaz package receipt.
3 PACKAGE="scummvm"
4 VERSION="2.1.2"
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 gcc-lib-base libmad libmpeg2 libogg libsdl2 libvorbis zlib"
15 BUILD_DEPENDS="alsa-lib-dev flac-dev 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 ./configure \
24 --prefix=/usr \
25 --datadir=/usr/games/scummvm \
26 --backend=sdl \
27 --disable-debug \
28 --with-flac-prefix=/usr \
29 --disable-fluidsynth \
30 --host=$HOST_SYSTEM &&
31 make &&
32 make install &&
33 {
34 mkdir -p $DESTDIR/usr/share/applications
35 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
36 }
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/applications
43 mkdir -p $fs/usr/games
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/games/scummvm $fs/usr/games
47 cp -a $install/usr/share/applications/scummvm.desktop \
48 $fs/usr/share/applications
49 }