wok-current view billardgl/receipt @ rev 13057
mariadb: Fix WGET_URL (again)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jun 20 16:39:21 2012 +0200 (2012-06-20) |
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 }