wok-current view scummvm/receipt @ rev 14692

python-edje: Up to 1.7.0-3
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:09:30 2013 +0200 (2013-06-06)
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 }