wok-4.x view scummvm/receipt @ rev 10617
ncmpc: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 18:34:03 2011 +0200 (2011-05-26) |
parents | c15a988e8272 |
children | f5b1d838898b |
line source
1 # SliTaz package receipt.
3 PACKAGE="scummvm"
4 VERSION="1.2.1"
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 zlib"
9 BUILD_DEPENDS="libsdl-dev alsa-lib-dev libmad-dev libvorbis-dev flac-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 --datadir=/usr/games/scummvm \
21 --backend=sdl --disable-debug \
22 --with-mpeg2-prefix=/usr \
23 --with-flac-prefix=/usr \
24 --disable-fluidsynth \
25 --host=$HOST_SYSTEM &&
26 make && make install && {
27 mkdir -p $DESTDIR/usr/share/applications
28 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
29 }
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/applications $fs/usr/games
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/games/scummvm $fs/usr/games
38 cp -a $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications
39 }