wok annotate scummvm/receipt @ rev 12527
fluxbox: small fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 01:26:49 2012 +0200 (2012-04-25) |
parents | f51a43f01469 |
children | 03360f041b37 |
rev | line source |
---|---|
gokhlayeh@6432 | 1 # SliTaz package receipt. |
gokhlayeh@6432 | 2 |
gokhlayeh@6432 | 3 PACKAGE="scummvm" |
slaxemulator@10974 | 4 VERSION="1.3.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" |
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." |
slaxemulator@10974 | 12 |
gokhlayeh@8625 | 13 DEPENDS="gcc-lib-base alsa-lib libmad libvorbis flac libsdl zlib" |
pascal@10609 | 14 BUILD_DEPENDS="libsdl-dev alsa-lib-dev libmad-dev libvorbis-dev flac-dev" |
gokhlayeh@6432 | 15 |
gokhlayeh@6432 | 16 # Rules to configure and make the package. |
gokhlayeh@6432 | 17 compile_rules() |
gokhlayeh@6432 | 18 { |
gokhlayeh@6432 | 19 cd $src |
gokhlayeh@6432 | 20 ./configure \ |
pascal@9115 | 21 --prefix=/usr \ |
slaxemulator@6777 | 22 --datadir=/usr/games/scummvm \ |
gokhlayeh@6432 | 23 --backend=sdl --disable-debug \ |
gokhlayeh@6432 | 24 --with-mpeg2-prefix=/usr \ |
gokhlayeh@6432 | 25 --with-flac-prefix=/usr \ |
slaxemulator@10345 | 26 --disable-fluidsynth \ |
slaxemulator@10345 | 27 --host=$HOST_SYSTEM && |
pascal@9031 | 28 make && make install && { |
pascal@9031 | 29 mkdir -p $DESTDIR/usr/share/applications |
pascal@9031 | 30 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications |
pascal@9031 | 31 } |
gokhlayeh@6432 | 32 } |
gokhlayeh@6432 | 33 |
gokhlayeh@6432 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@6432 | 35 genpkg_rules() |
gokhlayeh@6432 | 36 { |
gokhlayeh@6438 | 37 mkdir -p $fs/usr/share/applications $fs/usr/games |
gokhlayeh@6432 | 38 cp -a $_pkg/usr/bin $fs/usr |
gokhlayeh@6438 | 39 cp -a $_pkg/usr/games/scummvm $fs/usr/games |
pascal@9031 | 40 cp -a $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications |
gokhlayeh@6432 | 41 } |
gokhlayeh@6432 | 42 |