wok-current view visualboyadvance/receipt @ rev 11225
Add from wok-undigest: maxima mongodb
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 04 09:59:19 2011 +0100 (2011-11-04) |
parents | c1cd96feca64 |
children | 8e4c74abdf74 |
line source
1 # SliTaz package receipt.
3 PACKAGE="visualboyadvance"
4 VERSION="1.7.2"
5 CATEGORY="games"
6 SHORT_DESC="An emulator for Gameboy and Gameboy Advance systems."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="libsdl"
9 BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev cairomm-dev libglade-dev libxml2-dev zlib-dev"
10 SOURCE="VisualBoyAdvance"
11 TARBALL="$SOURCE-src-$VERSION.tar.gz"
12 CONFIG_FILES="'/etc/VisualBoyAdvance.cfg"
13 WEB_SITE="http://vba.ngemu.com/"
14 WGET_URL="http://downloads.sourceforge.net/sourceforge/vba/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 for i in $stuff/$VERSION-*.patch; do
21 patch -Np0 < $i
22 done
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --sysconfdir=/etc \
28 --datadir=/usr/games \
29 --enable-gtk=2.4 \
30 $CONFIGURE_ARGS &&
31 make -j 4 && make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $_pkg/etc $fs
39 cp -a $_pkg/usr/bin/VisualBoyAdvance $fs/usr/bin
40 }