wok view scummvm/receipt @ rev 13946

Up gpm (1.20.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 29 18:22:11 2013 +0100 (2013-01-29)
parents f5b1d838898b
children 132d3416b188
line source
1 # SliTaz package receipt.
3 PACKAGE="scummvm"
4 VERSION="1.5.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."
12 DEPENDS="gcc-lib-base alsa-lib libmad libmpeg2 libogg libsdl libvorbis flac zlib"
13 BUILD_DEPENDS="alsa-lib-dev libmad-dev libmpeg2-dev libogg-dev libsdl-dev libvorbis-dev flac-dev zlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --datadir=/usr/games/scummvm \
22 --backend=sdl --disable-debug \
23 --with-flac-prefix=/usr \
24 --disable-fluidsynth \
25 --host=$HOST_SYSTEM &&
26 make && make install && {
27 mkdir -p $DESTDIR/usr/share/applications
28 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
29 }
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/applications $fs/usr/games
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/games/scummvm $fs/usr/games
38 cp -a $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications
39 }