wok-6.x annotate scummvm/receipt @ rev 6432

Add: scummvm 1.1.1, beneath-a-steel-sky 1.2
author Antoine Bodin <gokhlayeh@mailoo.org>
date Mon Sep 27 18:03:47 2010 +0200 (2010-09-27)
parents
children e6d42611d599
rev   line source
gokhlayeh@6432 1 # SliTaz package receipt.
gokhlayeh@6432 2
gokhlayeh@6432 3 PACKAGE="scummvm"
gokhlayeh@6432 4 VERSION="1.1.1"
gokhlayeh@6432 5 CATEGORY="games"
gokhlayeh@6432 6 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games."
gokhlayeh@6432 7 MAINTAINER="gokhlayeh@mailoo.org"
gokhlayeh@6432 8 DEPENDS="gcc-lib-base alsa-lib libmad libvorbis flac libsdl"
gokhlayeh@6432 9 BUILD_DEPENDS="alsa-lib-dev libmad-dev libvorbis-dev flac-dev libsdl-dev zlib-dev"
gokhlayeh@6432 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@6432 11 WEB_SITE="http://www.scummvm.org/"
gokhlayeh@6432 12 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
gokhlayeh@6432 13
gokhlayeh@6432 14 # Rules to configure and make the package.
gokhlayeh@6432 15 compile_rules()
gokhlayeh@6432 16 {
gokhlayeh@6432 17 cd $src
gokhlayeh@6432 18 ./configure \
gokhlayeh@6432 19 --prefix=/usr \
gokhlayeh@6432 20 --mandir=/usr/share/man \
gokhlayeh@6432 21 --backend=sdl --disable-debug \
gokhlayeh@6432 22 --with-mpeg2-prefix=/usr \
gokhlayeh@6432 23 --with-flac-prefix=/usr \
gokhlayeh@6432 24 --disable-fluidsynth &&
gokhlayeh@6432 25 make -j 4 && make DESTDIR=$PWD/_pkg install
gokhlayeh@6432 26 }
gokhlayeh@6432 27
gokhlayeh@6432 28 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@6432 29 genpkg_rules()
gokhlayeh@6432 30 {
gokhlayeh@6432 31 mkdir -p $fs/usr/share/applications
gokhlayeh@6432 32 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@6432 33 cp -a $_pkg/usr/share/scummvm $fs/usr/share
gokhlayeh@6432 34 cp -a $src/dists/scummvm.desktop $fs/usr/share/applications
gokhlayeh@6432 35 }
gokhlayeh@6432 36