wok-6.x annotate visualboyadvance/receipt @ rev 13394
Up glib (2.32.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 26 09:31:22 2012 +0200 (2012-09-26) |
parents | a0250385f2a5 |
children | 380ffe05937a |
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" |
gokhlayeh@7031 | 8 DEPENDS="libsdl" |
gokhlayeh@7031 | 9 BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev cairomm-dev libglade-dev libxml2-dev zlib-dev" |
gokhlayeh@7031 | 10 SOURCE="VisualBoyAdvance" |
gokhlayeh@7031 | 11 TARBALL="$SOURCE-src-$VERSION.tar.gz" |
gokhlayeh@7031 | 12 CONFIG_FILES="'/etc/VisualBoyAdvance.cfg" |
gokhlayeh@7031 | 13 WEB_SITE="http://vba.ngemu.com/" |
gokhlayeh@7031 | 14 WGET_URL="http://downloads.sourceforge.net/sourceforge/vba/$TARBALL" |
pascal@13041 | 15 TAGS="emulator gameboy" |
gokhlayeh@7031 | 16 |
gokhlayeh@7031 | 17 # Rules to configure and make the package. |
gokhlayeh@7031 | 18 compile_rules() |
gokhlayeh@7031 | 19 { |
gokhlayeh@7031 | 20 cd $src |
pascal@13043 | 21 sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp |
pascal@8974 | 22 for i in $stuff/$VERSION-*.patch; do |
gokhlayeh@7031 | 23 patch -Np0 < $i |
gokhlayeh@7031 | 24 done |
gokhlayeh@7031 | 25 ./configure \ |
gokhlayeh@7031 | 26 --prefix=/usr \ |
gokhlayeh@7031 | 27 --infodir=/usr/share/info \ |
gokhlayeh@7031 | 28 --mandir=/usr/share/man \ |
gokhlayeh@7031 | 29 --sysconfdir=/etc \ |
gokhlayeh@7031 | 30 --datadir=/usr/games \ |
gokhlayeh@7031 | 31 --enable-gtk=2.4 \ |
gokhlayeh@7031 | 32 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 33 make $MAKEFLAGS && make DESTDIR=$PWD/_pkg 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 { |
gokhlayeh@7031 | 39 mkdir -p $fs/usr/bin |
gokhlayeh@7031 | 40 cp -a $_pkg/etc $fs |
gokhlayeh@7031 | 41 cp -a $_pkg/usr/bin/VisualBoyAdvance $fs/usr/bin |
gokhlayeh@7031 | 42 } |
gokhlayeh@7031 | 43 |