wok-current view scummvm/receipt @ rev 7543
mplayer-svn:add depends
author | fireflyoo <lufeng369@gmail.com> |
---|---|
date | Tue Dec 07 23:24:12 2010 +0800 (2010-12-07) |
parents | 400719117500 |
children | 259214792e30 |
line source
1 # SliTaz package receipt.
3 PACKAGE="scummvm"
4 VERSION="1.2.0"
5 CATEGORY="games"
6 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="gcc-lib-base alsa-lib libmad libvorbis flac libsdl"
9 BUILD_DEPENDS="alsa-lib-dev libmad-dev libvorbis-dev flac-dev libsdl-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.scummvm.org/"
12 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --datadir=/usr/games/scummvm \
22 --backend=sdl --disable-debug \
23 --with-mpeg2-prefix=/usr \
24 --with-flac-prefix=/usr \
25 --disable-fluidsynth &&
26 make -j 4 && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/applications $fs/usr/games
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/games/scummvm $fs/usr/games
35 cp -a $src/dists/scummvm.desktop $fs/usr/share/applications
36 }