wok-6.x annotate visualboyadvance/receipt @ rev 23214

updated nagvis and nagvis-doc (1.9.11 -> 1.9.18)
author Hans-G?nter Theisgen
date Sat Mar 21 15:07:17 2020 +0100 (2020-03-21)
parents 6037f37a1c85
children 3105f866bc3e
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
gokhlayeh@7031 19 # Rules to configure and make the package.
gokhlayeh@7031 20 compile_rules()
gokhlayeh@7031 21 {
pascal@13043 22 sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp
pascal@8974 23 for i in $stuff/$VERSION-*.patch; do
gokhlayeh@7031 24 patch -Np0 < $i
gokhlayeh@7031 25 done
gokhlayeh@7031 26 ./configure \
gokhlayeh@7031 27 --prefix=/usr \
gokhlayeh@7031 28 --sysconfdir=/etc \
al@18580 29 --disable-profiling \
gokhlayeh@7031 30 --enable-gtk=2.4 \
al@18580 31 --disable-dev \
gokhlayeh@7031 32 $CONFIGURE_ARGS &&
pascal@15000 33 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
gokhlayeh@7031 34 }
gokhlayeh@7031 35
gokhlayeh@7031 36 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7031 37 genpkg_rules()
gokhlayeh@7031 38 {
al@18580 39 cp -a $install/* $fs
gokhlayeh@7031 40 }