wok-6.x view scummvm/receipt @ rev 8871

Fix libnjb deps
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 26 06:15:14 2011 +0100 (2011-02-26)
parents af022550edde
children d4f25cefd2ff
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 --datadir=/usr/games/scummvm \
19 --backend=sdl --disable-debug \
20 --with-mpeg2-prefix=/usr \
21 --with-flac-prefix=/usr \
22 --disable-fluidsynth &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/applications $fs/usr/games
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/games/scummvm $fs/usr/games
32 cp -a $src/dists/scummvm.desktop $fs/usr/share/applications
33 }