wok view scummvm/receipt @ rev 11007
Up: gdb to 7.3.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 13 03:15:29 2011 +0000 (2011-10-13) |
parents | f51a43f01469 |
children | 03360f041b37 |
line source
1 # SliTaz package receipt.
3 PACKAGE="scummvm"
4 VERSION="1.3.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 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 libvorbis flac libsdl zlib"
14 BUILD_DEPENDS="libsdl-dev alsa-lib-dev libmad-dev libvorbis-dev flac-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-mpeg2-prefix=/usr \
25 --with-flac-prefix=/usr \
26 --disable-fluidsynth \
27 --host=$HOST_SYSTEM &&
28 make && make install && {
29 mkdir -p $DESTDIR/usr/share/applications
30 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
31 }
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/applications $fs/usr/games
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/games/scummvm $fs/usr/games
40 cp -a $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications
41 }