wok-stable annotate scummvm/receipt @ rev 10609

scummvm: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 17:20:02 2011 +0200 (2011-05-26)
parents c15a988e8272
children f5b1d838898b
rev   line source
gokhlayeh@6432 1 # SliTaz package receipt.
gokhlayeh@6432 2
gokhlayeh@6432 3 PACKAGE="scummvm"
gokhlayeh@8625 4 VERSION="1.2.1"
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@8625 8 DEPENDS="gcc-lib-base alsa-lib libmad libvorbis flac libsdl zlib"
pascal@10609 9 BUILD_DEPENDS="libsdl-dev alsa-lib-dev libmad-dev libvorbis-dev flac-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 \
pascal@9115 19 --prefix=/usr \
slaxemulator@6777 20 --datadir=/usr/games/scummvm \
gokhlayeh@6432 21 --backend=sdl --disable-debug \
gokhlayeh@6432 22 --with-mpeg2-prefix=/usr \
gokhlayeh@6432 23 --with-flac-prefix=/usr \
slaxemulator@10345 24 --disable-fluidsynth \
slaxemulator@10345 25 --host=$HOST_SYSTEM &&
pascal@9031 26 make && make install && {
pascal@9031 27 mkdir -p $DESTDIR/usr/share/applications
pascal@9031 28 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
pascal@9031 29 }
gokhlayeh@6432 30 }
gokhlayeh@6432 31
gokhlayeh@6432 32 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@6432 33 genpkg_rules()
gokhlayeh@6432 34 {
gokhlayeh@6438 35 mkdir -p $fs/usr/share/applications $fs/usr/games
gokhlayeh@6432 36 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@6438 37 cp -a $_pkg/usr/games/scummvm $fs/usr/games
pascal@9031 38 cp -a $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications
gokhlayeh@6432 39 }
gokhlayeh@6432 40