wok-next view visualboyadvance/receipt @ rev 18579
Up geos (3.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 11 14:50:32 2015 +0100 (2015-11-11) |
parents | 380ffe05937a |
children | 6037f37a1c85 |
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 mkdir -p $fs/usr/games
43 cp -a $install/etc $fs
44 cp -a $install/usr/bin/VisualBoyAdvance $fs/usr/bin
45 cp -a $install/usr/games/VisualBoyAdvance $fs/usr/games
46 }