wok view visualboyadvance/receipt @ rev 18378
Up: nginx (1.9.4)
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Thu Sep 17 16:02:23 2015 +0000 (2015-09-17) |
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 }