wok diff foobillard/receipt @ rev 7974

Fix: net-snmp needs -j1 to install correctly
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 17 17:55:29 2011 +0100 (2011-01-17)
parents
children d1768332cee0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/foobillard/receipt	Mon Jan 17 17:55:29 2011 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="foobillard"
     1.7 +VERSION="3.0a"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="An OpenGL billiard game for Linux."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="libsdl freetype libpng mesa libglu-mesa"
    1.12 +BUILD_DEPENDS="libsdl-dev freetype-dev libpng-dev libglu-mesa mesa-dev zlib-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://foobillard.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	sed -i -e 's/-lXaw//' -e 's/-lXi//' src/Makefile.in
    1.22 +	patch -p1 < ../stuff/03_bugfixes
    1.23 +	patch -p1 < ../stuff/05_foul_explanation
    1.24 +	patch -p1 < ../stuff/06_show_ball_to_hit
    1.25 +	patch -p0 < ../stuff/snooker_reset.patch
    1.26 +	patch -p0 < ../stuff/snooker_draw.patch
    1.27 +
    1.28 +	./configure \
    1.29 +		--prefix=/usr \
    1.30 +		--infodir=/usr/share/info \
    1.31 +		--mandir=/usr/share/man \
    1.32 +		$CONFIGURE_ARGS &&
    1.33 +	make && make DESTDIR=$PWD/_pkg install
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()
    1.38 +{
    1.39 +	mkdir -p $fs/usr/share
    1.40 +	cp -a $_pkg/usr/bin $fs/usr
    1.41 +	cp -a $_pkg/usr/share/foobillard $fs/usr/share
    1.42 +}
    1.43 +