wok-6.x view scummvm/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | 0817aa6c98ce |
children | f1a65d93df2f |
line source
1 # SliTaz package receipt.
3 PACKAGE="scummvm"
4 VERSION="2.5.1"
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 WEB_SITE="https://www.scummvm.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}frs/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="alsa-lib flac gcc83-lib-base libmad libmpeg2 libogg libsdl2 libvorbis zlib"
15 BUILD_DEPENDS="alsa-lib-dev flac-dev gcc83 libmad-dev libmpeg2-dev libogg-dev
16 libsdl2-dev libvorbis-dev zlib-dev"
18 CROSS="bug: Doesn't support --build."
20 current_version()
21 {
22 wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \
23 sed '/version/!d;s|.*version ||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export CC=gcc-83
30 export CXX=g++-83
32 ./configure \
33 --prefix=/usr \
34 --datadir=/usr/games/scummvm \
35 --backend=sdl \
36 --disable-debug \
37 --with-flac-prefix=/usr \
38 --disable-fluidsynth \
39 --host=$HOST_SYSTEM &&
40 make &&
41 make install &&
42 {
43 mkdir -p $DESTDIR/usr/share/applications
44 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
45 }
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/share/applications
52 mkdir -p $fs/usr/games
54 cp -a $install/usr/bin $fs/usr
55 cp -a $install/usr/games/scummvm $fs/usr/games
56 cp -a $install/usr/share/applications/scummvm.desktop \
57 $fs/usr/share/applications
58 }