wok view visualboyadvance/receipt @ rev 24369

updated binutils and libbfd (2.33.1 -> 2.37)
author Hans-G?nter Theisgen
date Sat Feb 05 09:26:55 2022 +0100 (2022-02-05)
parents 20661c276bcf
children ad0bc3efbf37
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="https://sourceforge.net/projects/vba/"
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/vba/files/VisualBoyAdvance/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/VisualBoyAdvance/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp
31 for i in $stuff/$VERSION-*.patch; do
32 patch -Np0 < $i
33 done
34 ./configure \
35 --prefix=/usr \
36 --sysconfdir=/etc \
37 --disable-profiling \
38 --enable-gtk=2.4 \
39 --disable-dev \
40 $CONFIGURE_ARGS &&
41 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cp -a $install/* $fs
48 }