wok view scummvm/receipt @ rev 15002
Add some GPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 21:12:16 2013 +0000 (2013-08-10) |
parents | 132d3416b188 |
children | 051931e905b0 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.scummvm.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CROSS="bug: Doesn't support --build."
14 DEPENDS="gcc-lib-base alsa-lib libmad libmpeg2 libogg libsdl libvorbis flac zlib"
15 BUILD_DEPENDS="alsa-lib-dev libmad-dev libmpeg2-dev libogg-dev libsdl-dev libvorbis-dev flac-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --datadir=/usr/games/scummvm \
24 --backend=sdl --disable-debug \
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 }