wok view billardgl/receipt @ rev 11576
nvclock: autoreconf before build
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:19 2012 +0100 (2012-01-02) |
parents | |
children | a2c3b45bfc8b |
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 freeglut-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/src
20 sed -i 's/stream.h/stream/' bmp.cpp
21 grep -q namespace bmp.cpp ||
22 sed -i 's/"bmp.h"/"bmp.h"\nusing namespace std;/' bmp.cpp
23 make || return 1
24 mkdir -p $DESTDIR/usr/share/BillardGL $DESTDIR/usr/games
25 cp $src/src/BillardGL $DESTDIR/usr/games
26 cp -R $src/src/Texturen $DESTDIR/usr/share/BillardGL
27 cp -R $src/src/lang $DESTDIR/usr/share/BillardGL
28 cp -R $src/src/README $DESTDIR/usr/share/BillardGL
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $_pkg/usr $fs
35 }