wok annotate foobillard/receipt @ rev 10292
claws-mail-spam_report: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 18:35:07 2011 +0000 (2011-05-21) |
parents | ab3747cf211d |
children | 6b09507225ec |
rev | line source |
---|---|
slaxemulator@7500 | 1 # SliTaz package receipt. |
slaxemulator@7500 | 2 |
slaxemulator@7500 | 3 PACKAGE="foobillard" |
slaxemulator@7500 | 4 VERSION="3.0a" |
slaxemulator@7500 | 5 CATEGORY="games" |
slaxemulator@7500 | 6 SHORT_DESC="An OpenGL billiard game for Linux." |
slaxemulator@7500 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7500 | 8 DEPENDS="libsdl freetype libpng mesa libglu-mesa" |
slaxemulator@7500 | 9 BUILD_DEPENDS="libsdl-dev freetype-dev libpng-dev libglu-mesa mesa-dev zlib-dev" |
slaxemulator@7500 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7500 | 11 WEB_SITE="http://foobillard.sourceforge.net/" |
slaxemulator@7500 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7500 | 13 |
slaxemulator@7500 | 14 # Rules to configure and make the package. |
slaxemulator@7500 | 15 compile_rules() |
slaxemulator@7500 | 16 { |
slaxemulator@7500 | 17 cd $src |
slaxemulator@7500 | 18 sed -i -e 's/-lXaw//' -e 's/-lXi//' src/Makefile.in |
slaxemulator@9700 | 19 patch -p1 < $stuff/03_bugfixes |
slaxemulator@9700 | 20 patch -p1 < $stuff/05_foul_explanation |
slaxemulator@9700 | 21 patch -p1 < $stuff/06_show_ball_to_hit |
slaxemulator@9700 | 22 patch -p0 < $stuff/snooker_reset.patch |
slaxemulator@9700 | 23 patch -p0 < $stuff/snooker_draw.patch |
slaxemulator@7500 | 24 |
slaxemulator@7500 | 25 ./configure \ |
slaxemulator@7500 | 26 --prefix=/usr \ |
slaxemulator@7500 | 27 --infodir=/usr/share/info \ |
slaxemulator@7500 | 28 --mandir=/usr/share/man \ |
slaxemulator@7500 | 29 $CONFIGURE_ARGS && |
slaxemulator@7500 | 30 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7500 | 31 } |
slaxemulator@7500 | 32 |
slaxemulator@7500 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7500 | 34 genpkg_rules() |
slaxemulator@7500 | 35 { |
slaxemulator@7500 | 36 mkdir -p $fs/usr/share |
slaxemulator@7500 | 37 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7500 | 38 cp -a $_pkg/usr/share/foobillard $fs/usr/share |
slaxemulator@7500 | 39 } |
slaxemulator@7500 | 40 |