wok-undigest view billardgl/receipt @ rev 140

Move barcode to wok
author Alexander Medvedev <devl547@gmail.com>
date Thu May 27 18:57:29 2010 +0000 (2010-05-27)
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 }