wok-next view visualboyadvance/receipt @ rev 18627
syslinux/taziso/showfavinfo: show receipt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 24 14:51:11 2015 +0100 (2015-11-24) |
parents | 1bf9a3f46700 |
children | f375934fce59 |
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 GameboyAdvance systems"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="VisualBoyAdvance-src-$VERSION.tar.gz"
10 CONFIG_FILES="/etc/VisualBoyAdvance.cfg"
11 WEB_SITE="http://vba.ngemu.com/"
12 WGET_URL="http://downloads.sourceforge.net/sourceforge/vba/$TARBALL"
13 TAGS="emulator gameboy"
15 DEPENDS="libsdl"
16 BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev \
17 cairomm-dev libglade-dev libxml2-dev zlib-dev bison flex"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp
23 for i in $stuff/$VERSION-*.patch; do
24 patch -Np0 < $i
25 done
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --disable-profiling \
30 --enable-gtk=2.4 \
31 --disable-dev \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }