wok-6.x view visualboyadvance/receipt @ rev 17239

Up lxqt-*(0.8.0) lximage-qt (0.3.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Oct 18 17:59:10 2014 +0200 (2014-10-18)
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 }