wok-6.x view foobillard/receipt @ rev 14365

Up dietlibc (0.33), static only
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 20 18:53:47 2013 +0200 (2013-04-20)
parents d1768332cee0
children 5735e0b38f6f
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://foobillard.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="libsdl freetype libpng mesa libglu-mesa"
13 BUILD_DEPENDS="libsdl-dev freetype-dev libpng-dev libglu-mesa mesa-dev zlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i -e 's/-lXaw//' -e 's/-lXi//' src/Makefile.in
20 patch -p1 < $stuff/03_bugfixes
21 patch -p1 < $stuff/05_foul_explanation
22 patch -p1 < $stuff/06_show_ball_to_hit
23 patch -p0 < $stuff/snooker_reset.patch
24 patch -p0 < $stuff/snooker_draw.patch
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/foobillard $fs/usr/share
40 }