wok-4.x view billardgl/receipt @ rev 11494
Up: poppler 0.18.2; poppler-data 0.4.5 (fix build of epdfview; thank godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Dec 19 02:49:30 2011 +0100 (2011-12-19) |
parents | |
children |
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 }