wok view foobillard/receipt @ rev 8029

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