wok-current annotate billardgl/receipt @ rev 22577

updated cabextract (1.9 -> 1.9.1)
author Hans-G?nter Theisgen
date Mon Jan 06 16:52:55 2020 +0100 (2020-01-06)
parents eb8067417980
children 5f6c5106b1f5
rev   line source
pascal@11217 1 # SliTaz package receipt.
pascal@11217 2
pascal@11217 3 PACKAGE="billardgl"
pascal@11217 4 VERSION="1.75"
pascal@11217 5 CATEGORY="games"
pascal@11217 6 SHORT_DESC="OpenGL billard game."
pascal@11217 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
pascal@11217 9 SOURCE="BillardGL"
pascal@11217 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20671 11 WEB_SITE="https://sourceforge.net/projects/billardgl/"
pascal@11217 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11217 13
pascal@11217 14 DEPENDS="libglu-mesa freeglut"
pascal@13794 15 BUILD_DEPENDS="libglu-mesa xorg-libXmu-dev xorg-libXi-dev mesa-dev \
pascal@13794 16 libglu-mesa-dev freeglut-dev"
pascal@11217 17
pascal@11217 18 # Rules to configure and make the package.
pascal@11217 19 compile_rules()
pascal@11217 20 {
pascal@11217 21 cd $src/src
pascal@11217 22 sed -i 's/stream.h/stream/' bmp.cpp
pascal@11217 23 grep -q namespace bmp.cpp ||
pascal@11217 24 sed -i 's/"bmp.h"/"bmp.h"\nusing namespace std;/' bmp.cpp
pascal@11217 25 make || return 1
pascal@11217 26 mkdir -p $DESTDIR/usr/share/BillardGL $DESTDIR/usr/games
pascal@11217 27 cp $src/src/BillardGL $DESTDIR/usr/games
pascal@11217 28 cp -R $src/src/Texturen $DESTDIR/usr/share/BillardGL
pascal@11217 29 cp -R $src/src/lang $DESTDIR/usr/share/BillardGL
pascal@11217 30 cp -R $src/src/README $DESTDIR/usr/share/BillardGL
pascal@11217 31 }
pascal@11217 32
pascal@11217 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11217 34 genpkg_rules()
pascal@11217 35 {
pascal@15579 36 cp -a $install/usr $fs
pascal@11217 37 }
pascal@11217 38