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

scummvm: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 22:31:11 2011 +0100 (2011-03-03)
parents 259214792e30
children 88ad007c2c00
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 \
slaxemulator@6777 18 --datadir=/usr/games/scummvm \
gokhlayeh@6432 19 --backend=sdl --disable-debug \
gokhlayeh@6432 20 --with-mpeg2-prefix=/usr \
gokhlayeh@6432 21 --with-flac-prefix=/usr \
gokhlayeh@6432 22 --disable-fluidsynth &&
pascal@9031 23 make && make install && {
pascal@9031 24 mkdir -p $DESTDIR/usr/share/applications
pascal@9031 25 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
pascal@9031 26 }
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
pascal@9031 35 cp -a $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications
gokhlayeh@6432 36 }
gokhlayeh@6432 37