wok-stable view scummvm/receipt @ rev 12465

Up e2fsprogs (1.44.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 04 18:42:23 2019 +0100 (2019-03-04)
parents c73ccae3c3f3
children
line source
1 # SliTaz package receipt.
3 PACKAGE="scummvm"
4 VERSION="1.6.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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.scummvm.org/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 CROSS="bug: Doesn't support --build."
13 DEPENDS="gcc-lib-base alsa-lib libmad libmpeg2 libogg libsdl libvorbis flac zlib"
14 BUILD_DEPENDS="alsa-lib-dev libmad-dev libmpeg2-dev libogg-dev libsdl-dev libvorbis-dev flac-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --datadir=/usr/games/scummvm \
23 --backend=sdl --disable-debug \
24 --with-flac-prefix=/usr \
25 --disable-fluidsynth \
26 --host=$HOST_SYSTEM &&
27 make && make install && {
28 mkdir -p $DESTDIR/usr/share/applications
29 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
30 }
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/applications $fs/usr/games
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/games/scummvm $fs/usr/games
39 cp -a $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications
40 }