wok-current view visualboyadvance/receipt @ rev 13434
Up: claws-mail, claws-mail-dev, claws-mail-plugins (3.8.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Oct 07 01:15:34 2012 +0200 (2012-10-07) |
parents | a0250385f2a5 |
children | 380ffe05937a |
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 sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp
22 for i in $stuff/$VERSION-*.patch; do
23 patch -Np0 < $i
24 done
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 --sysconfdir=/etc \
30 --datadir=/usr/games \
31 --enable-gtk=2.4 \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin
40 cp -a $_pkg/etc $fs
41 cp -a $_pkg/usr/bin/VisualBoyAdvance $fs/usr/bin
42 }