wok view scummvm/receipt @ rev 23756

gst-plugins-base-1.0: added build dependency automake
author Hans-G?nter Theisgen
date Sat May 02 16:58:52 2020 +0100 (2020-05-02)
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 }