wok-current view billardgl/receipt @ rev 21269
updated liboping and liboping-dev (1.9.0 -> 1.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 12 15:48:18 2019 +0100 (2019-04-12) |
parents | eb8067417980 |
children | 5f6c5106b1f5 |
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 LICENSE="GPL2"
9 SOURCE="BillardGL"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://sourceforge.net/projects/billardgl/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libglu-mesa freeglut"
15 BUILD_DEPENDS="libglu-mesa xorg-libXmu-dev xorg-libXi-dev mesa-dev \
16 libglu-mesa-dev freeglut-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/src
22 sed -i 's/stream.h/stream/' bmp.cpp
23 grep -q namespace bmp.cpp ||
24 sed -i 's/"bmp.h"/"bmp.h"\nusing namespace std;/' bmp.cpp
25 make || return 1
26 mkdir -p $DESTDIR/usr/share/BillardGL $DESTDIR/usr/games
27 cp $src/src/BillardGL $DESTDIR/usr/games
28 cp -R $src/src/Texturen $DESTDIR/usr/share/BillardGL
29 cp -R $src/src/lang $DESTDIR/usr/share/BillardGL
30 cp -R $src/src/README $DESTDIR/usr/share/BillardGL
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }