wok-stable view scummvm/receipt @ rev 10522
openmotif: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 16:19:42 2011 +0200 (2011-05-25) |
parents | 88ad007c2c00 |
children | f51a43f01469 |
line source
1 # SliTaz package receipt.
3 PACKAGE="scummvm"
4 VERSION="1.2.1"
5 CATEGORY="games"
6 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="gcc-lib-base alsa-lib libmad libvorbis flac libsdl zlib"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.scummvm.org/"
11 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --datadir=/usr/games/scummvm \
20 --backend=sdl --disable-debug \
21 --with-mpeg2-prefix=/usr \
22 --with-flac-prefix=/usr \
23 --disable-fluidsynth \
24 --host=$HOST_SYSTEM &&
25 make && make install && {
26 mkdir -p $DESTDIR/usr/share/applications
27 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
28 }
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/applications $fs/usr/games
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/games/scummvm $fs/usr/games
37 cp -a $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications
38 }