wok annotate scummvm/receipt @ rev 25749
fixed recipe for dconf
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 31 14:17:36 2024 +0100 (2 months ago) |
parents | 1df6fa555414 |
children |
rev | line source |
---|---|
gokhlayeh@6432 | 1 # SliTaz package receipt. |
gokhlayeh@6432 | 2 |
gokhlayeh@6432 | 3 PACKAGE="scummvm" |
Hans-G?nter@25299 | 4 VERSION="2.6.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@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@25299 | 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 } |