Receipt for package "visualboyadvance"
# SliTaz package receipt. PACKAGE="visualboyadvance" VERSION="1.7.2" CATEGORY="games" SHORT_DESC="An emulator for Gameboy and GameboyAdvance systems" MAINTAINER="gokhlayeh@slitaz.org" LICENSE="GPL2" TARBALL="VisualBoyAdvance-src-$VERSION.tar.gz" CONFIG_FILES="/etc/VisualBoyAdvance.cfg" WEB_SITE="https://sourceforge.net/projects/vba/" WGET_URL="$SF_MIRROR/sourceforge/vba/$TARBALL" TAGS="emulator gameboy" DEPENDS="libsdl" BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev \ cairomm-dev libglade-dev libxml2-dev zlib-dev bison flex" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/vba/files/VisualBoyAdvance/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/VisualBoyAdvance/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp for i in $stuff/$VERSION-*.patch; do patch -Np0 < $i done ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --disable-profiling \ --enable-gtk=2.4 \ --disable-dev \ $CONFIGURE_ARGS && make $MAKEFLAGS && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)