wok-next view foobillard/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | c0521c689857 |
children | d5aab818505e |
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
22 ./configure \
23 --prefix=/usr \
24 --enable-nvidia=no \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/foobillard $fs/usr/share
37 }