wok-current view scummvm/receipt @ rev 14749
busybox: diet -Os produce larger files...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 16 15:34:51 2013 +0200 (2013-06-16) |
parents | 03360f041b37 |
children | 7896f0694ef6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="scummvm"
4 VERSION="1.6.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 }