wok-undigest annotate billardgl/receipt @ rev 23

Add Gcompris (in one of my wok for too many time...)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 31 18:30:15 2010 +0200 (2010-03-31)
parents
children a74a41c3e072
rev   line source
pascal@14 1 # SliTaz package receipt.
pascal@14 2
pascal@14 3 PACKAGE="billardgl"
pascal@14 4 VERSION="1.75"
pascal@14 5 CATEGORY="games"
pascal@14 6 SHORT_DESC="OpenGL billard game."
pascal@14 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14 8 SOURCE="BillardGL"
pascal@14 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@14 10 WEB_SITE="http://www.billardgl.de/"
pascal@14 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@14 12 DEPENDS="libglu"
pascal@14 13
pascal@14 14 # Rules to configure and make the package.
pascal@14 15 compile_rules()
pascal@14 16 {
pascal@14 17 cd $src/src
pascal@14 18 sed -i 's/stream.h/stream/' bmp.cpp
pascal@14 19 grep -q namespace bmp.cpp ||
pascal@14 20 sed -i 's/"bmp.h"/"bmp.h"\nusing namespace std;/' bmp.cpp
pascal@14 21 make || return 1
pascal@14 22 cd ..
pascal@14 23 mkdir -p _pkg/usr/share/BillardGL _pkg/usr/games
pascal@14 24 cp src/BillardGL _pkg/usr/games
pascal@14 25 cp -R src/Texturen _pkg/usr/share/BillardGL
pascal@14 26 cp -R src/lang _pkg/usr/share/BillardGL
pascal@14 27 cp -R src/README _pkg/usr/share/BillardGL
pascal@14 28 }
pascal@14 29
pascal@14 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14 31 genpkg_rules()
pascal@14 32 {
pascal@14 33 cp -a $_pkg/usr $fs
pascal@14 34 }
pascal@14 35