wok-next view visualboyadvance/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | 6037f37a1c85 |
children | f300110d2807 |
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/int i = 0; i < 16; i++/int ii = 0; ii < 16; ii++/' \
23 src/sdl/debugger.cpp
24 sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp
25 for i in $stuff/$VERSION-*.patch; do
26 patch -Np0 < $i
27 done
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --disable-profiling \
32 --enable-gtk=2.4 \
33 --disable-dev \
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 cp -a $install/* $fs
42 }