wok-current view foobillard/receipt @ rev 17600

notification-daemon, pidgin-libnotify: fix notify_notification_new args
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 11 22:40:20 2015 +0100 (2015-02-11)
parents 5735e0b38f6f
children 640a2eba2511
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 }