wok-6.x annotate scummvm/receipt @ rev 24731
updated libdvdread and libdvdread-dev (6.0.2 -> 6.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 17:30:53 2022 +0100 (2022-03-15) |
parents | 0817aa6c98ce |
children | f1a65d93df2f |
rev | line source |
---|---|
gokhlayeh@6432 | 1 # SliTaz package receipt. |
gokhlayeh@6432 | 2 |
gokhlayeh@6432 | 3 PACKAGE="scummvm" |
Hans-G?nter@24283 | 4 VERSION="2.5.1" |
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@24283 | 14 DEPENDS="alsa-lib flac gcc83-lib-base libmad libmpeg2 libogg libsdl2 libvorbis zlib" |
Hans-G?nter@24283 | 15 BUILD_DEPENDS="alsa-lib-dev flac-dev gcc83 libmad-dev libmpeg2-dev libogg-dev |
Hans-G?nter@23635 | 16 libsdl2-dev libvorbis-dev zlib-dev" |
Hans-G?nter@21895 | 17 |
slaxemulator@10974 | 18 CROSS="bug: Doesn't support --build." |
pascal@15002 | 19 |
pascal@24288 | 20 current_version() |
pascal@24288 | 21 { |
pascal@24288 | 22 wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ |
pascal@24288 | 23 sed '/version/!d;s|.*version ||;s|<.*||;q' |
pascal@24288 | 24 } |
pascal@24288 | 25 |
gokhlayeh@6432 | 26 # Rules to configure and make the package. |
gokhlayeh@6432 | 27 compile_rules() |
gokhlayeh@6432 | 28 { |
Hans-G?nter@24283 | 29 export CC=gcc-83 |
Hans-G?nter@24283 | 30 export CXX=g++-83 |
Hans-G?nter@24283 | 31 |
Hans-G?nter@21895 | 32 ./configure \ |
Hans-G?nter@21895 | 33 --prefix=/usr \ |
Hans-G?nter@21895 | 34 --datadir=/usr/games/scummvm \ |
Hans-G?nter@21895 | 35 --backend=sdl \ |
Hans-G?nter@21895 | 36 --disable-debug \ |
Hans-G?nter@21895 | 37 --with-flac-prefix=/usr \ |
Hans-G?nter@21895 | 38 --disable-fluidsynth \ |
slaxemulator@10345 | 39 --host=$HOST_SYSTEM && |
Hans-G?nter@21895 | 40 make && |
Hans-G?nter@21895 | 41 make install && |
Hans-G?nter@21895 | 42 { |
Hans-G?nter@21895 | 43 mkdir -p $DESTDIR/usr/share/applications |
Hans-G?nter@24283 | 44 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications |
pascal@9031 | 45 } |
gokhlayeh@6432 | 46 } |
gokhlayeh@6432 | 47 |
gokhlayeh@6432 | 48 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@6432 | 49 genpkg_rules() |
gokhlayeh@6432 | 50 { |
Hans-G?nter@21895 | 51 mkdir -p $fs/usr/share/applications |
Hans-G?nter@21895 | 52 mkdir -p $fs/usr/games |
Hans-G?nter@21895 | 53 |
Hans-G?nter@21895 | 54 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21895 | 55 cp -a $install/usr/games/scummvm $fs/usr/games |
Hans-G?nter@21895 | 56 cp -a $install/usr/share/applications/scummvm.desktop \ |
Hans-G?nter@21895 | 57 $fs/usr/share/applications |
gokhlayeh@6432 | 58 } |