wok view scummvm/receipt @ rev 9705

gcc: dont erase Godane change ($stuff)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 20:09:05 2011 +0200 (2011-05-08)
parents d4f25cefd2ff
children c15a988e8272
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 make && make install && {
25 mkdir -p $DESTDIR/usr/share/applications
26 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
27 }
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/applications $fs/usr/games
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/games/scummvm $fs/usr/games
36 cp -a $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications
37 }