wok view billardgl/receipt @ rev 15268

libxml2, libxslt: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 11:39:47 2013 +0000 (2013-09-25)
parents 5189e691d619
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="billardgl"
4 VERSION="1.75"
5 CATEGORY="games"
6 SHORT_DESC="OpenGL billard game."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="BillardGL"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.billardgl.de/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libglu-mesa freeglut"
14 BUILD_DEPENDS="libglu-mesa xorg-libXmu-dev xorg-libXi-dev mesa-dev \
15 libglu-mesa-dev freeglut-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src
21 sed -i 's/stream.h/stream/' bmp.cpp
22 grep -q namespace bmp.cpp ||
23 sed -i 's/"bmp.h"/"bmp.h"\nusing namespace std;/' bmp.cpp
24 make || return 1
25 mkdir -p $DESTDIR/usr/share/BillardGL $DESTDIR/usr/games
26 cp $src/src/BillardGL $DESTDIR/usr/games
27 cp -R $src/src/Texturen $DESTDIR/usr/share/BillardGL
28 cp -R $src/src/lang $DESTDIR/usr/share/BillardGL
29 cp -R $src/src/README $DESTDIR/usr/share/BillardGL
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $_pkg/usr $fs
36 }