wok view billardgl/receipt @ rev 19719
transfig: update for libpng >= 1.4.1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 10:08:24 2017 +0100 (2017-02-16) |
parents | a2c3b45bfc8b |
children | 6e8b1bcb30e2 |
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="http://www.billardgl.de/"
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 }