wok-6.x view scummvm/receipt @ rev 18606
busybox: touch $root/etc/daemons.conf
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 16 11:29:05 2015 +0200 (2015-11-16) |
parents | 7896f0694ef6 |
children | 6135577f4d08 |
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 $install/usr/bin $fs/usr
39 cp -a $install/usr/games/scummvm $fs/usr/games
40 cp -a $install/usr/share/applications/scummvm.desktop $fs/usr/share/applications
41 }