wok-next diff visualboyadvance/receipt @ rev 8417
Up: xorg-printproto to 1.0.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 05 17:39:51 2011 +0000 (2011-02-05) |
parents | |
children | 940b5937e496 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/visualboyadvance/receipt Sat Feb 05 17:39:51 2011 +0000 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="visualboyadvance" 1.7 +VERSION="1.7.2" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="An emulator for Gameboy and Gameboy Advance systems." 1.10 +MAINTAINER="gokhlayeh@slitaz.org" 1.11 +DEPENDS="libsdl" 1.12 +BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev cairomm-dev libglade-dev libxml2-dev zlib-dev" 1.13 +SOURCE="VisualBoyAdvance" 1.14 +TARBALL="$SOURCE-src-$VERSION.tar.gz" 1.15 +CONFIG_FILES="'/etc/VisualBoyAdvance.cfg" 1.16 +WEB_SITE="http://vba.ngemu.com/" 1.17 +WGET_URL="http://downloads.sourceforge.net/sourceforge/vba/$TARBALL" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + for i in ../stuff/$VERSION-*.patch; do 1.24 + patch -Np0 < $i 1.25 + done 1.26 + ./configure \ 1.27 + --prefix=/usr \ 1.28 + --infodir=/usr/share/info \ 1.29 + --mandir=/usr/share/man \ 1.30 + --sysconfdir=/etc \ 1.31 + --datadir=/usr/games \ 1.32 + --enable-gtk=2.4 \ 1.33 + $CONFIGURE_ARGS && 1.34 + make -j 4 && make DESTDIR=$PWD/_pkg install 1.35 +} 1.36 + 1.37 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 +genpkg_rules() 1.39 +{ 1.40 + mkdir -p $fs/usr/bin 1.41 + cp -a $_pkg/etc $fs 1.42 + cp -a $_pkg/usr/bin/VisualBoyAdvance $fs/usr/bin 1.43 +} 1.44 +