wok-undigest view billardgl/receipt @ rev 69
buildroot: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 17 10:17:09 2010 +0200 (2010-04-17) |
parents | |
children | a74a41c3e072 |
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"
12 DEPENDS="libglu"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/src
18 sed -i 's/stream.h/stream/' bmp.cpp
19 grep -q namespace bmp.cpp ||
20 sed -i 's/"bmp.h"/"bmp.h"\nusing namespace std;/' bmp.cpp
21 make || return 1
22 cd ..
23 mkdir -p _pkg/usr/share/BillardGL _pkg/usr/games
24 cp src/BillardGL _pkg/usr/games
25 cp -R src/Texturen _pkg/usr/share/BillardGL
26 cp -R src/lang _pkg/usr/share/BillardGL
27 cp -R src/README _pkg/usr/share/BillardGL
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $_pkg/usr $fs
34 }