wok-next annotate scummvm/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 051931e905b0 |
children | 7506b35e1c6f |
rev | line source |
---|---|
al@20475 | 1 # SliTaz package receipt v2. |
gokhlayeh@6432 | 2 |
gokhlayeh@6432 | 3 PACKAGE="scummvm" |
admin@14635 | 4 VERSION="1.6.0" |
gokhlayeh@6432 | 5 CATEGORY="games" |
al@20475 | 6 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click \ |
al@20475 | 7 adventure games" |
admin@13392 | 8 MAINTAINER="admin@trixarian.net" |
pascal@15002 | 9 LICENSE="GPL2" |
al@20475 | 10 WEB_SITE="http://www.scummvm.org/" |
al@20475 | 11 |
slaxemulator@10974 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@10974 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@20475 | 14 |
al@20475 | 15 BUILD_DEPENDS="alsa-lib-dev libmad-dev libmpeg2-dev libogg-dev libsdl-dev \ |
al@20475 | 16 libvorbis-dev flac-dev zlib-dev" |
slaxemulator@10974 | 17 CROSS="bug: Doesn't support --build." |
pascal@15002 | 18 |
al@20475 | 19 compile_rules() { |
gokhlayeh@6432 | 20 ./configure \ |
pascal@9115 | 21 --prefix=/usr \ |
slaxemulator@6777 | 22 --datadir=/usr/games/scummvm \ |
al@20475 | 23 --backend=sdl \ |
al@20475 | 24 --disable-debug \ |
gokhlayeh@6432 | 25 --with-flac-prefix=/usr \ |
slaxemulator@10345 | 26 --disable-fluidsynth \ |
slaxemulator@10345 | 27 --host=$HOST_SYSTEM && |
al@20475 | 28 make && make install || return 1 |
al@20475 | 29 |
al@20475 | 30 mkdir -p $DESTDIR/usr/share/applications |
al@20475 | 31 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications |
gokhlayeh@6432 | 32 } |
gokhlayeh@6432 | 33 |
al@20475 | 34 genpkg_rules() { |
al@20475 | 35 copy @std |
al@20475 | 36 DEPENDS="alsa-lib libmad libmpeg2 libogg libsdl libvorbis flac zlib" |
gokhlayeh@6432 | 37 } |