wok annotate visualboyadvance/receipt @ rev 11082

Up: claws-mail-notification to 0.28.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 01:56:04 2011 +0000 (2011-10-17)
parents c1cd96feca64
children 8e4c74abdf74
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"
gokhlayeh@7031 15
gokhlayeh@7031 16 # Rules to configure and make the package.
gokhlayeh@7031 17 compile_rules()
gokhlayeh@7031 18 {
gokhlayeh@7031 19 cd $src
pascal@8974 20 for i in $stuff/$VERSION-*.patch; do
gokhlayeh@7031 21 patch -Np0 < $i
gokhlayeh@7031 22 done
gokhlayeh@7031 23 ./configure \
gokhlayeh@7031 24 --prefix=/usr \
gokhlayeh@7031 25 --infodir=/usr/share/info \
gokhlayeh@7031 26 --mandir=/usr/share/man \
gokhlayeh@7031 27 --sysconfdir=/etc \
gokhlayeh@7031 28 --datadir=/usr/games \
gokhlayeh@7031 29 --enable-gtk=2.4 \
gokhlayeh@7031 30 $CONFIGURE_ARGS &&
gokhlayeh@7031 31 make -j 4 && make DESTDIR=$PWD/_pkg install
gokhlayeh@7031 32 }
gokhlayeh@7031 33
gokhlayeh@7031 34 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7031 35 genpkg_rules()
gokhlayeh@7031 36 {
gokhlayeh@7031 37 mkdir -p $fs/usr/bin
gokhlayeh@7031 38 cp -a $_pkg/etc $fs
gokhlayeh@7031 39 cp -a $_pkg/usr/bin/VisualBoyAdvance $fs/usr/bin
gokhlayeh@7031 40 }
gokhlayeh@7031 41