wok annotate scummvm/receipt @ rev 10525

ophcrack: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 16:22:24 2011 +0200 (2011-05-25)
parents 88ad007c2c00
children f51a43f01469
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"
gokhlayeh@6432 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@6432 10 WEB_SITE="http://www.scummvm.org/"
gokhlayeh@6432 11 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
gokhlayeh@6432 12
gokhlayeh@6432 13 # Rules to configure and make the package.
gokhlayeh@6432 14 compile_rules()
gokhlayeh@6432 15 {
gokhlayeh@6432 16 cd $src
gokhlayeh@6432 17 ./configure \
pascal@9115 18 --prefix=/usr \
slaxemulator@6777 19 --datadir=/usr/games/scummvm \
gokhlayeh@6432 20 --backend=sdl --disable-debug \
gokhlayeh@6432 21 --with-mpeg2-prefix=/usr \
gokhlayeh@6432 22 --with-flac-prefix=/usr \
slaxemulator@10345 23 --disable-fluidsynth \
slaxemulator@10345 24 --host=$HOST_SYSTEM &&
pascal@9031 25 make && make install && {
pascal@9031 26 mkdir -p $DESTDIR/usr/share/applications
pascal@9031 27 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
pascal@9031 28 }
gokhlayeh@6432 29 }
gokhlayeh@6432 30
gokhlayeh@6432 31 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@6432 32 genpkg_rules()
gokhlayeh@6432 33 {
gokhlayeh@6438 34 mkdir -p $fs/usr/share/applications $fs/usr/games
gokhlayeh@6432 35 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@6438 36 cp -a $_pkg/usr/games/scummvm $fs/usr/games
pascal@9031 37 cp -a $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications
gokhlayeh@6432 38 }
gokhlayeh@6432 39