wok view visualboyadvance/receipt @ rev 15571

Up lxc (0.9.0) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 26 09:03:33 2013 +0000 (2013-11-26)
parents 715e800f6ed1
children 1bf9a3f46700
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 LICENSE="GPL2"
9 SOURCE="VisualBoyAdvance"
10 TARBALL="$SOURCE-src-$VERSION.tar.gz"
11 CONFIG_FILES="'/etc/VisualBoyAdvance.cfg"
12 WEB_SITE="http://vba.ngemu.com/"
13 WGET_URL="http://downloads.sourceforge.net/sourceforge/vba/$TARBALL"
14 TAGS="emulator gameboy"
16 DEPENDS="libsdl"
17 BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev cairomm-dev libglade-dev libxml2-dev zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp
24 for i in $stuff/$VERSION-*.patch; do
25 patch -Np0 < $i
26 done
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --sysconfdir=/etc \
32 --datadir=/usr/games \
33 --enable-gtk=2.4 \
34 $CONFIGURE_ARGS &&
35 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin
42 cp -a $install/etc $fs
43 cp -a $install/usr/bin/VisualBoyAdvance $fs/usr/bin
44 }