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

Change my mail
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Oct 31 23:30:12 2010 +0100 (2010-10-31)
parents 400719117500
children 259214792e30
rev   line source
gokhlayeh@6432 1 # SliTaz package receipt.
gokhlayeh@6432 2
gokhlayeh@6432 3 PACKAGE="scummvm"
slaxemulator@6777 4 VERSION="1.2.0"
gokhlayeh@6432 5 CATEGORY="games"
gokhlayeh@6432 6 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games."
gokhlayeh@7034 7 MAINTAINER="gokhlayeh@slitaz.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 \
slaxemulator@6777 21 --datadir=/usr/games/scummvm \
gokhlayeh@6432 22 --backend=sdl --disable-debug \
gokhlayeh@6432 23 --with-mpeg2-prefix=/usr \
gokhlayeh@6432 24 --with-flac-prefix=/usr \
gokhlayeh@6432 25 --disable-fluidsynth &&
gokhlayeh@6432 26 make -j 4 && make DESTDIR=$PWD/_pkg install
gokhlayeh@6432 27 }
gokhlayeh@6432 28
gokhlayeh@6432 29 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@6432 30 genpkg_rules()
gokhlayeh@6432 31 {
gokhlayeh@6438 32 mkdir -p $fs/usr/share/applications $fs/usr/games
gokhlayeh@6432 33 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@6438 34 cp -a $_pkg/usr/games/scummvm $fs/usr/games
gokhlayeh@6432 35 cp -a $src/dists/scummvm.desktop $fs/usr/share/applications
gokhlayeh@6432 36 }
gokhlayeh@6432 37