wok-next view billardgl/receipt @ rev 21403
updated php again (7.4.4 -> 7.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 21 10:28:30 2020 +0100 (2020-04-21) |
parents | d5aab818505e |
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 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/billardgl/"
11 SOURCE="BillardGL"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="glu libxmu-dev libxi-dev mesa-dev glu-dev freeglut-dev"
17 compile_rules() {
18 cd $src/src
19 sed -i 's/stream.h/stream/' bmp.cpp
20 grep -q namespace bmp.cpp ||
21 sed -i 's/"bmp.h"/"bmp.h"\nusing namespace std;/' bmp.cpp
22 make || return 1
23 mkdir -p $install/usr/share/BillardGL $install/usr/games
24 cp $src/src/BillardGL $install/usr/games
25 cp -R $src/src/Texturen $install/usr/share/BillardGL
26 cp -R $src/src/lang $install/usr/share/BillardGL
27 cp -R $src/src/README $install/usr/share/BillardGL
28 }
30 genpkg_rules() {
31 cp -a $install/usr $fs
32 DEPENDS="glu freeglut"
33 }