wok-next view foobillard/receipt @ rev 15954

Up: pciutils (3.2.1) and ids file. This fix intel agp module name
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 23 15:54:50 2014 +0100 (2014-02-23)
parents 5735e0b38f6f
children 6ff3a3889626
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://foobillard.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libsdl freetype libpng mesa libglu-mesa"
14 BUILD_DEPENDS="libsdl-dev freetype-dev libpng-dev libglu-mesa mesa-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i -e 's/-lXaw//' -e 's/-lXi//' src/Makefile.in
21 patch -p1 < $stuff/03_bugfixes
22 patch -p1 < $stuff/05_foul_explanation
23 patch -p1 < $stuff/06_show_ball_to_hit
24 patch -p0 < $stuff/snooker_reset.patch
25 patch -p0 < $stuff/snooker_draw.patch
27 ./configure \
28 --prefix=/usr \
29 --enable-nvidia=no \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/foobillard $fs/usr/share
42 }