wok-current view scummvm/receipt @ rev 23238
updated nginx-extras again (1.9.4 -> 1.16.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 08:38:30 2020 +0100 (2020-03-25) |
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 }