wok-next annotate visualboyadvance/receipt @ rev 20006
nginx-extras: update bdeps, vte-dev: add vte.pc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 21 15:15:14 2017 +0200 (2017-10-21) |
parents | 6037f37a1c85 |
children | f300110d2807 |
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" |
gokhlayeh@7031 | 11 WEB_SITE="http://vba.ngemu.com/" |
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@20006 | 22 sed -i 's/int i = 0; i < 16; i++/int ii = 0; ii < 16; ii++/' \ |
pascal@20006 | 23 src/sdl/debugger.cpp |
pascal@13043 | 24 sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp |
pascal@8974 | 25 for i in $stuff/$VERSION-*.patch; do |
gokhlayeh@7031 | 26 patch -Np0 < $i |
gokhlayeh@7031 | 27 done |
gokhlayeh@7031 | 28 ./configure \ |
gokhlayeh@7031 | 29 --prefix=/usr \ |
gokhlayeh@7031 | 30 --sysconfdir=/etc \ |
al@18580 | 31 --disable-profiling \ |
gokhlayeh@7031 | 32 --enable-gtk=2.4 \ |
al@18580 | 33 --disable-dev \ |
gokhlayeh@7031 | 34 $CONFIGURE_ARGS && |
pascal@15000 | 35 make $MAKEFLAGS && make DESTDIR=$DESTDIR install |
gokhlayeh@7031 | 36 } |
gokhlayeh@7031 | 37 |
gokhlayeh@7031 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@7031 | 39 genpkg_rules() |
gokhlayeh@7031 | 40 { |
al@18580 | 41 cp -a $install/* $fs |
gokhlayeh@7031 | 42 } |