wok-6.x view scummvm/receipt @ rev 21723

updated ptxdist (2012.03.0 -> 2019.06.0)
author Hans-G?nter Theisgen
date Wed Jun 12 15:08:31 2019 +0100 (2019-06-12)
parents 051931e905b0
children 3e5628bfe347
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="https://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 }