wok-6.x annotate scummvm/receipt @ rev 6766
Added xorg-libXv to xorg-libXv-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 18 00:32:33 2010 +0000 (2010-10-18) |
parents | 92668334447c |
children | 400719117500 |
rev | line source |
---|---|
gokhlayeh@6432 | 1 # SliTaz package receipt. |
gokhlayeh@6432 | 2 |
gokhlayeh@6432 | 3 PACKAGE="scummvm" |
gokhlayeh@6432 | 4 VERSION="1.1.1" |
gokhlayeh@6432 | 5 CATEGORY="games" |
gokhlayeh@6432 | 6 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games." |
gokhlayeh@6432 | 7 MAINTAINER="gokhlayeh@mailoo.org" |
gokhlayeh@6432 | 8 DEPENDS="gcc-lib-base alsa-lib libmad libvorbis flac libsdl" |
gokhlayeh@6432 | 9 BUILD_DEPENDS="alsa-lib-dev libmad-dev libvorbis-dev flac-dev libsdl-dev zlib-dev" |
gokhlayeh@6432 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@6432 | 11 WEB_SITE="http://www.scummvm.org/" |
gokhlayeh@6432 | 12 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL" |
gokhlayeh@6432 | 13 |
gokhlayeh@6432 | 14 # Rules to configure and make the package. |
gokhlayeh@6432 | 15 compile_rules() |
gokhlayeh@6432 | 16 { |
gokhlayeh@6432 | 17 cd $src |
gokhlayeh@6432 | 18 ./configure \ |
gokhlayeh@6432 | 19 --prefix=/usr \ |
gokhlayeh@6432 | 20 --mandir=/usr/share/man \ |
gokhlayeh@6438 | 21 --datadir=/usr/games \ |
gokhlayeh@6432 | 22 --backend=sdl --disable-debug \ |
gokhlayeh@6432 | 23 --with-mpeg2-prefix=/usr \ |
gokhlayeh@6432 | 24 --with-flac-prefix=/usr \ |
gokhlayeh@6432 | 25 --disable-fluidsynth && |
gokhlayeh@6432 | 26 make -j 4 && make DESTDIR=$PWD/_pkg install |
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 |
gokhlayeh@6432 | 35 cp -a $src/dists/scummvm.desktop $fs/usr/share/applications |
gokhlayeh@6432 | 36 } |
gokhlayeh@6432 | 37 |