wok-current annotate visualboyadvance/receipt @ rev 16602
Remove python-piface* (work only with python3) but add libmcp23s17 + libpifacedigital C library and utility
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 07 17:38:57 2014 +0200 (2014-05-07) |
parents | 715e800f6ed1 |
children | 1bf9a3f46700 |
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" |
gokhlayeh@7031 | 6 SHORT_DESC="An emulator for Gameboy and Gameboy Advance systems." |
gokhlayeh@7031 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
gokhlayeh@7031 | 9 SOURCE="VisualBoyAdvance" |
gokhlayeh@7031 | 10 TARBALL="$SOURCE-src-$VERSION.tar.gz" |
gokhlayeh@7031 | 11 CONFIG_FILES="'/etc/VisualBoyAdvance.cfg" |
gokhlayeh@7031 | 12 WEB_SITE="http://vba.ngemu.com/" |
gokhlayeh@7031 | 13 WGET_URL="http://downloads.sourceforge.net/sourceforge/vba/$TARBALL" |
pascal@13041 | 14 TAGS="emulator gameboy" |
gokhlayeh@7031 | 15 |
pascal@15000 | 16 DEPENDS="libsdl" |
pascal@15000 | 17 BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev cairomm-dev libglade-dev libxml2-dev zlib-dev" |
pascal@15000 | 18 |
gokhlayeh@7031 | 19 # Rules to configure and make the package. |
gokhlayeh@7031 | 20 compile_rules() |
gokhlayeh@7031 | 21 { |
gokhlayeh@7031 | 22 cd $src |
pascal@13043 | 23 sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp |
pascal@8974 | 24 for i in $stuff/$VERSION-*.patch; do |
gokhlayeh@7031 | 25 patch -Np0 < $i |
gokhlayeh@7031 | 26 done |
gokhlayeh@7031 | 27 ./configure \ |
gokhlayeh@7031 | 28 --prefix=/usr \ |
gokhlayeh@7031 | 29 --infodir=/usr/share/info \ |
gokhlayeh@7031 | 30 --mandir=/usr/share/man \ |
gokhlayeh@7031 | 31 --sysconfdir=/etc \ |
gokhlayeh@7031 | 32 --datadir=/usr/games \ |
gokhlayeh@7031 | 33 --enable-gtk=2.4 \ |
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 { |
gokhlayeh@7031 | 41 mkdir -p $fs/usr/bin |
pascal@15000 | 42 cp -a $install/etc $fs |
pascal@15000 | 43 cp -a $install/usr/bin/VisualBoyAdvance $fs/usr/bin |
gokhlayeh@7031 | 44 } |
gokhlayeh@7031 | 45 |