wok-next view foobillard/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d6378d455338
children 5669e8b3be70
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://foobillard.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libsdl-dev freetype-dev libpng16-dev glu mesa-dev \
15 zlib-dev glu-dev"
17 compile_rules() {
18 sed -i -e 's/-lXaw//' -e 's/-lXi//' src/Makefile.in
20 ./configure \
21 --prefix=/usr \
22 --enable-nvidia=no \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules() {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/foobillard $fs/usr/share
34 DEPENDS="libsdl freetype libpng16 mesa glu"
35 }