wok-6.x annotate scummvm/receipt @ rev 22872
updated gource (0.49 -> 0.51)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 21 17:11:22 2020 +0100 (2020-02-21) |
parents | 6135577f4d08 |
children | a5ef19f1580a |
rev | line source |
---|---|
gokhlayeh@6432 | 1 # SliTaz package receipt. |
gokhlayeh@6432 | 2 |
gokhlayeh@6432 | 3 PACKAGE="scummvm" |
Hans-G?nter@21895 | 4 VERSION="2.0.0" |
gokhlayeh@6432 | 5 CATEGORY="games" |
gokhlayeh@6432 | 6 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games." |
admin@13392 | 7 MAINTAINER="admin@trixarian.net" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@20679 | 9 WEB_SITE="https://www.scummvm.org/" |
Hans-G?nter@21895 | 10 |
Hans-G?nter@21895 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@21895 | 12 WGET_URL="${WEB_SITE}frs/$PACKAGE/$VERSION/$TARBALL" |
Hans-G?nter@21895 | 13 |
Hans-G?nter@21895 | 14 DEPENDS="alsa-lib flac gcc-lib-base libmad libmpeg2 libogg libsdl libvorbis zlib" |
Hans-G?nter@21895 | 15 BUILD_DEPENDS="alsa-lib-dev flac-dev libmad-dev libmpeg2-dev libogg-dev \ |
Hans-G?nter@21895 | 16 libsdl-dev libvorbis-dev zlib-dev" |
Hans-G?nter@21895 | 17 |
slaxemulator@10974 | 18 CROSS="bug: Doesn't support --build." |
pascal@15002 | 19 |
gokhlayeh@6432 | 20 # Rules to configure and make the package. |
gokhlayeh@6432 | 21 compile_rules() |
gokhlayeh@6432 | 22 { |
Hans-G?nter@21895 | 23 ./configure \ |
Hans-G?nter@21895 | 24 --prefix=/usr \ |
Hans-G?nter@21895 | 25 --datadir=/usr/games/scummvm \ |
Hans-G?nter@21895 | 26 --backend=sdl \ |
Hans-G?nter@21895 | 27 --disable-debug \ |
Hans-G?nter@21895 | 28 --with-flac-prefix=/usr \ |
Hans-G?nter@21895 | 29 --disable-fluidsynth \ |
slaxemulator@10345 | 30 --host=$HOST_SYSTEM && |
Hans-G?nter@21895 | 31 make && |
Hans-G?nter@21895 | 32 make install && |
Hans-G?nter@21895 | 33 { |
Hans-G?nter@21895 | 34 mkdir -p $DESTDIR/usr/share/applications |
Hans-G?nter@21895 | 35 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications |
pascal@9031 | 36 } |
gokhlayeh@6432 | 37 } |
gokhlayeh@6432 | 38 |
gokhlayeh@6432 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@6432 | 40 genpkg_rules() |
gokhlayeh@6432 | 41 { |
Hans-G?nter@21895 | 42 mkdir -p $fs/usr/share/applications |
Hans-G?nter@21895 | 43 mkdir -p $fs/usr/games |
Hans-G?nter@21895 | 44 |
Hans-G?nter@21895 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21895 | 46 cp -a $install/usr/games/scummvm $fs/usr/games |
Hans-G?nter@21895 | 47 cp -a $install/usr/share/applications/scummvm.desktop \ |
Hans-G?nter@21895 | 48 $fs/usr/share/applications |
gokhlayeh@6432 | 49 } |