wok-next view foobillard/receipt @ rev 20502

Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 16 00:27:34 2018 +0200 (2018-03-16)
parents dd145c435e4b
children d6378d455338
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 libpng16 mesa glu"
14 BUILD_DEPENDS="libsdl-dev freetype-dev libpng16-dev glu mesa-dev \
15 zlib-dev glu-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 }