wok-6.x annotate foobillard/receipt @ rev 14925
foobillard: remove nvidia support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 07 10:48:47 2013 +0000 (2013-08-07) |
parents | 6b09507225ec |
children | fd54f14fe0be |
rev | line source |
---|---|
slaxemulator@7500 | 1 # SliTaz package receipt. |
slaxemulator@7500 | 2 |
slaxemulator@7500 | 3 PACKAGE="foobillard" |
slaxemulator@7500 | 4 VERSION="3.0a" |
slaxemulator@7500 | 5 CATEGORY="games" |
slaxemulator@7500 | 6 SHORT_DESC="An OpenGL billiard game for Linux." |
slaxemulator@7500 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7500 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7500 | 9 WEB_SITE="http://foobillard.sourceforge.net/" |
slaxemulator@7500 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7500 | 11 |
pascal@13796 | 12 DEPENDS="libsdl freetype libpng mesa libglu-mesa" |
pascal@13796 | 13 BUILD_DEPENDS="libsdl-dev freetype-dev libpng-dev libglu-mesa mesa-dev zlib-dev" |
pascal@13796 | 14 |
slaxemulator@7500 | 15 # Rules to configure and make the package. |
slaxemulator@7500 | 16 compile_rules() |
slaxemulator@7500 | 17 { |
slaxemulator@7500 | 18 cd $src |
slaxemulator@7500 | 19 sed -i -e 's/-lXaw//' -e 's/-lXi//' src/Makefile.in |
slaxemulator@9700 | 20 patch -p1 < $stuff/03_bugfixes |
slaxemulator@9700 | 21 patch -p1 < $stuff/05_foul_explanation |
slaxemulator@9700 | 22 patch -p1 < $stuff/06_show_ball_to_hit |
slaxemulator@9700 | 23 patch -p0 < $stuff/snooker_reset.patch |
slaxemulator@9700 | 24 patch -p0 < $stuff/snooker_draw.patch |
slaxemulator@7500 | 25 |
slaxemulator@7500 | 26 ./configure \ |
slaxemulator@7500 | 27 --prefix=/usr \ |
pascal@14925 | 28 --enable-nvidia=no \ |
slaxemulator@7500 | 29 --infodir=/usr/share/info \ |
slaxemulator@7500 | 30 --mandir=/usr/share/man \ |
slaxemulator@7500 | 31 $CONFIGURE_ARGS && |
pascal@13796 | 32 make && make DESTDIR=$DESTDIR install |
slaxemulator@7500 | 33 } |
slaxemulator@7500 | 34 |
slaxemulator@7500 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7500 | 36 genpkg_rules() |
slaxemulator@7500 | 37 { |
slaxemulator@7500 | 38 mkdir -p $fs/usr/share |
pascal@13796 | 39 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 40 cp -a $install/usr/share/foobillard $fs/usr/share |
slaxemulator@7500 | 41 } |
slaxemulator@7500 | 42 |