wok-4.x annotate scummvm/receipt @ rev 9984
Add libnetfilter_queue
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 23:31:19 2011 +0200 (2011-05-18) |
parents | d4f25cefd2ff |
children | c15a988e8272 |
rev | line source |
---|---|
gokhlayeh@6432 | 1 # SliTaz package receipt. |
gokhlayeh@6432 | 2 |
gokhlayeh@6432 | 3 PACKAGE="scummvm" |
gokhlayeh@8625 | 4 VERSION="1.2.1" |
gokhlayeh@6432 | 5 CATEGORY="games" |
gokhlayeh@6432 | 6 SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games." |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
gokhlayeh@8625 | 8 DEPENDS="gcc-lib-base alsa-lib libmad libvorbis flac libsdl zlib" |
gokhlayeh@6432 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@6432 | 10 WEB_SITE="http://www.scummvm.org/" |
gokhlayeh@6432 | 11 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL" |
gokhlayeh@6432 | 12 |
gokhlayeh@6432 | 13 # Rules to configure and make the package. |
gokhlayeh@6432 | 14 compile_rules() |
gokhlayeh@6432 | 15 { |
gokhlayeh@6432 | 16 cd $src |
gokhlayeh@6432 | 17 ./configure \ |
pascal@9115 | 18 --prefix=/usr \ |
slaxemulator@6777 | 19 --datadir=/usr/games/scummvm \ |
gokhlayeh@6432 | 20 --backend=sdl --disable-debug \ |
gokhlayeh@6432 | 21 --with-mpeg2-prefix=/usr \ |
gokhlayeh@6432 | 22 --with-flac-prefix=/usr \ |
gokhlayeh@6432 | 23 --disable-fluidsynth && |
pascal@9031 | 24 make && make install && { |
pascal@9031 | 25 mkdir -p $DESTDIR/usr/share/applications |
pascal@9031 | 26 cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications |
pascal@9031 | 27 } |
gokhlayeh@6432 | 28 } |
gokhlayeh@6432 | 29 |
gokhlayeh@6432 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@6432 | 31 genpkg_rules() |
gokhlayeh@6432 | 32 { |
gokhlayeh@6438 | 33 mkdir -p $fs/usr/share/applications $fs/usr/games |
gokhlayeh@6432 | 34 cp -a $_pkg/usr/bin $fs/usr |
gokhlayeh@6438 | 35 cp -a $_pkg/usr/games/scummvm $fs/usr/games |
pascal@9031 | 36 cp -a $_pkg/usr/share/applications/scummvm.desktop $fs/usr/share/applications |
gokhlayeh@6432 | 37 } |
gokhlayeh@6432 | 38 |