wok annotate scummvm/receipt @ rev 8626
Up: libtaz 0.0.6
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 15 03:13:49 2011 +0100 (2011-02-15) |
parents | af022550edde |
children | d4f25cefd2ff |
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 && |
gokhlayeh@8625 | 23 make && make install |
gokhlayeh@6432 | 24 } |
gokhlayeh@6432 | 25 |
gokhlayeh@6432 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@6432 | 27 genpkg_rules() |
gokhlayeh@6432 | 28 { |
gokhlayeh@6438 | 29 mkdir -p $fs/usr/share/applications $fs/usr/games |
gokhlayeh@6432 | 30 cp -a $_pkg/usr/bin $fs/usr |
gokhlayeh@6438 | 31 cp -a $_pkg/usr/games/scummvm $fs/usr/games |
gokhlayeh@6432 | 32 cp -a $src/dists/scummvm.desktop $fs/usr/share/applications |
gokhlayeh@6432 | 33 } |
gokhlayeh@6432 | 34 |