wok annotate visualboyadvance/receipt @ rev 13041

Update emulator tags
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 15 15:24:09 2012 +0200 (2012-06-15)
parents 8e4c74abdf74
children 715e800f6ed1
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@8974 21 for i in $stuff/$VERSION-*.patch; do
gokhlayeh@7031 22 patch -Np0 < $i
gokhlayeh@7031 23 done
gokhlayeh@7031 24 ./configure \
gokhlayeh@7031 25 --prefix=/usr \
gokhlayeh@7031 26 --infodir=/usr/share/info \
gokhlayeh@7031 27 --mandir=/usr/share/man \
gokhlayeh@7031 28 --sysconfdir=/etc \
gokhlayeh@7031 29 --datadir=/usr/games \
gokhlayeh@7031 30 --enable-gtk=2.4 \
gokhlayeh@7031 31 $CONFIGURE_ARGS &&
gokhlayeh@11574 32 make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install
gokhlayeh@7031 33 }
gokhlayeh@7031 34
gokhlayeh@7031 35 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7031 36 genpkg_rules()
gokhlayeh@7031 37 {
gokhlayeh@7031 38 mkdir -p $fs/usr/bin
gokhlayeh@7031 39 cp -a $_pkg/etc $fs
gokhlayeh@7031 40 cp -a $_pkg/usr/bin/VisualBoyAdvance $fs/usr/bin
gokhlayeh@7031 41 }
gokhlayeh@7031 42