wok-next view scummvm/receipt @ rev 17533
Add libssh2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 21 17:12:27 2015 +0100 (2015-01-21) |
parents | 7896f0694ef6 |
children | 1ff0133b1f8c |
line source
1 # SliTaz package receipt.
3 PACKAGE="scummvm"
4 VERSION="1.6.0"
5 CATEGORY="games"
6 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games."
7 MAINTAINER="admin@trixarian.net"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.scummvm.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CROSS="bug: Doesn't support --build."
14 DEPENDS="gcc-lib-base alsa-lib libmad libmpeg2 libogg libsdl libvorbis flac zlib"
15 BUILD_DEPENDS="alsa-lib-dev libmad-dev libmpeg2-dev libogg-dev libsdl-dev libvorbis-dev flac-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --datadir=/usr/games/scummvm \
24 --backend=sdl --disable-debug \
25 --with-flac-prefix=/usr \
26 --disable-fluidsynth \
27 --host=$HOST_SYSTEM &&
28 make && make install && {
29 mkdir -p $DESTDIR/usr/share/applications
30 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
31 }
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/applications $fs/usr/games
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/games/scummvm $fs/usr/games
40 cp -a $install/usr/share/applications/scummvm.desktop $fs/usr/share/applications
41 }