wok-6.x view scummvm/receipt @ rev 9078
python-nose: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 16:44:25 2011 +0100 (2011-03-04) |
parents | 259214792e30 |
children | 88ad007c2c00 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.scummvm.org/"
11 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --datadir=/usr/games/scummvm \
19 --backend=sdl --disable-debug \
20 --with-mpeg2-prefix=/usr \
21 --with-flac-prefix=/usr \
22 --disable-fluidsynth &&
23 make && make install && {
24 mkdir -p $DESTDIR/usr/share/applications
25 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
26 }
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 $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications
36 }