wok view visualboyadvance/receipt @ rev 20673

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 24 17:15:36 2019 +0100 (2019-01-24)
parents 1bf9a3f46700
children 20661c276bcf
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 }