wok-current annotate visualboyadvance/receipt @ rev 25174
updated python-flask (1.1.2 -> 1.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:16:59 2022 +0100 (2022-07-01) |
parents | 20661c276bcf |
children | ad0bc3efbf37 |
rev | line source |
---|---|
gokhlayeh@7031 | 1 # SliTaz package receipt. |
gokhlayeh@7031 | 2 |
gokhlayeh@7031 | 3 PACKAGE="visualboyadvance" |
gokhlayeh@7031 | 4 VERSION="1.7.2" |
gokhlayeh@7031 | 5 CATEGORY="games" |
al@18580 | 6 SHORT_DESC="An emulator for Gameboy and GameboyAdvance systems" |
gokhlayeh@7031 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@18580 | 9 TARBALL="VisualBoyAdvance-src-$VERSION.tar.gz" |
al@18580 | 10 CONFIG_FILES="/etc/VisualBoyAdvance.cfg" |
pascal@20682 | 11 WEB_SITE="https://sourceforge.net/projects/vba/" |
gokhlayeh@7031 | 12 WGET_URL="http://downloads.sourceforge.net/sourceforge/vba/$TARBALL" |
pascal@13041 | 13 TAGS="emulator gameboy" |
gokhlayeh@7031 | 14 |
pascal@15000 | 15 DEPENDS="libsdl" |
al@18580 | 16 BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev \ |
al@18580 | 17 cairomm-dev libglade-dev libxml2-dev zlib-dev bison flex" |
pascal@15000 | 18 |
pascal@24353 | 19 # What is the latest version available today? |
pascal@24353 | 20 current_version() |
pascal@24353 | 21 { |
pascal@24353 | 22 wget -O - https://sourceforge.net/projects/vba/files/VisualBoyAdvance/ 2>/dev/null | \ |
pascal@24353 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24353 | 24 sed '/scope="row/!d;s|.*/VisualBoyAdvance/||;s|/.*||;q' |
pascal@24353 | 25 } |
pascal@24353 | 26 |
gokhlayeh@7031 | 27 # Rules to configure and make the package. |
gokhlayeh@7031 | 28 compile_rules() |
gokhlayeh@7031 | 29 { |
pascal@13043 | 30 sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp |
pascal@8974 | 31 for i in $stuff/$VERSION-*.patch; do |
gokhlayeh@7031 | 32 patch -Np0 < $i |
gokhlayeh@7031 | 33 done |
gokhlayeh@7031 | 34 ./configure \ |
gokhlayeh@7031 | 35 --prefix=/usr \ |
gokhlayeh@7031 | 36 --sysconfdir=/etc \ |
al@18580 | 37 --disable-profiling \ |
gokhlayeh@7031 | 38 --enable-gtk=2.4 \ |
al@18580 | 39 --disable-dev \ |
gokhlayeh@7031 | 40 $CONFIGURE_ARGS && |
pascal@15000 | 41 make $MAKEFLAGS && make DESTDIR=$DESTDIR install |
gokhlayeh@7031 | 42 } |
gokhlayeh@7031 | 43 |
gokhlayeh@7031 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@7031 | 45 genpkg_rules() |
gokhlayeh@7031 | 46 { |
al@18580 | 47 cp -a $install/* $fs |
gokhlayeh@7031 | 48 } |