wok-next annotate scummvm/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 7506b35e1c6f
children 0f2575775b2d
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"
al@21020 8 MAINTAINER="devel@slitaz.org"
pascal@15002 9 LICENSE="GPL2"
al@20909 10 WEB_SITE="https://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"
pascal@15002 17
al@20475 18 compile_rules() {
gokhlayeh@6432 19 ./configure \
pascal@9115 20 --prefix=/usr \
slaxemulator@6777 21 --datadir=/usr/games/scummvm \
al@20475 22 --backend=sdl \
al@20475 23 --disable-debug \
gokhlayeh@6432 24 --with-flac-prefix=/usr \
slaxemulator@10345 25 --disable-fluidsynth \
slaxemulator@10345 26 --host=$HOST_SYSTEM &&
al@21020 27 make &&
al@21020 28 make install || return 1
al@20475 29
al@21020 30 mkdir -p $install/usr/share/applications
al@21020 31 cp -a dists/scummvm.desktop $install/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 }