wok view scummvm/receipt @ rev 22427
imagemagick, graphviz-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 15 20:05:55 2019 +0100 (2019-12-15) |
parents | 6135577f4d08 |
children | a5ef19f1580a |
line source
1 # SliTaz package receipt.
3 PACKAGE="scummvm"
4 VERSION="2.0.0"
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 libsdl libvorbis zlib"
15 BUILD_DEPENDS="alsa-lib-dev flac-dev libmad-dev libmpeg2-dev libogg-dev \
16 libsdl-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 }