wok-current annotate scummvm/receipt @ rev 13570
blazekiss: remove wkp_ToDo.php
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 03 16:23:37 2012 +0100 (2012-11-03) |
parents | f5b1d838898b |
children | 132d3416b188 |
rev | line source |
---|---|
gokhlayeh@6432 | 1 # SliTaz package receipt. |
gokhlayeh@6432 | 2 |
gokhlayeh@6432 | 3 PACKAGE="scummvm" |
admin@13392 | 4 VERSION="1.5.0" |
gokhlayeh@6432 | 5 CATEGORY="games" |
gokhlayeh@6432 | 6 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games." |
admin@13392 | 7 MAINTAINER="admin@trixarian.net" |
slaxemulator@10974 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@10974 | 9 WEB_SITE="http://www.scummvm.org/" |
slaxemulator@10974 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@10974 | 11 CROSS="bug: Doesn't support --build." |
admin@13392 | 12 DEPENDS="gcc-lib-base alsa-lib libmad libmpeg2 libogg libsdl libvorbis flac zlib" |
admin@13392 | 13 BUILD_DEPENDS="alsa-lib-dev libmad-dev libmpeg2-dev libogg-dev libsdl-dev libvorbis-dev flac-dev zlib-dev" |
gokhlayeh@6432 | 14 |
gokhlayeh@6432 | 15 # Rules to configure and make the package. |
gokhlayeh@6432 | 16 compile_rules() |
gokhlayeh@6432 | 17 { |
gokhlayeh@6432 | 18 cd $src |
gokhlayeh@6432 | 19 ./configure \ |
pascal@9115 | 20 --prefix=/usr \ |
slaxemulator@6777 | 21 --datadir=/usr/games/scummvm \ |
gokhlayeh@6432 | 22 --backend=sdl --disable-debug \ |
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 |