wok-6.x view visualboyadvance/receipt @ rev 13041
Update emulator tags
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 15 15:24:09 2012 +0200 (2012-06-15) |
parents | 8e4c74abdf74 |
children | 715e800f6ed1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="visualboyadvance"
4 VERSION="1.7.2"
5 CATEGORY="games"
6 SHORT_DESC="An emulator for Gameboy and Gameboy Advance systems."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="libsdl"
9 BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev cairomm-dev libglade-dev libxml2-dev zlib-dev"
10 SOURCE="VisualBoyAdvance"
11 TARBALL="$SOURCE-src-$VERSION.tar.gz"
12 CONFIG_FILES="'/etc/VisualBoyAdvance.cfg"
13 WEB_SITE="http://vba.ngemu.com/"
14 WGET_URL="http://downloads.sourceforge.net/sourceforge/vba/$TARBALL"
15 TAGS="emulator gameboy"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 for i in $stuff/$VERSION-*.patch; do
22 patch -Np0 < $i
23 done
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --sysconfdir=/etc \
29 --datadir=/usr/games \
30 --enable-gtk=2.4 \
31 $CONFIGURE_ARGS &&
32 make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 cp -a $_pkg/etc $fs
40 cp -a $_pkg/usr/bin/VisualBoyAdvance $fs/usr/bin
41 }