wok annotate foobillard/receipt @ rev 18371
Add hiredis
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 16 18:39:55 2015 +0200 (2015-09-16) |
parents | 5735e0b38f6f |
children | 640a2eba2511 |
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" |
pascal@14927 | 8 LICENSE="GPL2" |
slaxemulator@7500 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7500 | 10 WEB_SITE="http://foobillard.sourceforge.net/" |
slaxemulator@7500 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7500 | 12 |
pascal@13796 | 13 DEPENDS="libsdl freetype libpng mesa libglu-mesa" |
pascal@13796 | 14 BUILD_DEPENDS="libsdl-dev freetype-dev libpng-dev libglu-mesa mesa-dev zlib-dev" |
pascal@13796 | 15 |
slaxemulator@7500 | 16 # Rules to configure and make the package. |
slaxemulator@7500 | 17 compile_rules() |
slaxemulator@7500 | 18 { |
slaxemulator@7500 | 19 cd $src |
slaxemulator@7500 | 20 sed -i -e 's/-lXaw//' -e 's/-lXi//' src/Makefile.in |
slaxemulator@9700 | 21 patch -p1 < $stuff/03_bugfixes |
slaxemulator@9700 | 22 patch -p1 < $stuff/05_foul_explanation |
slaxemulator@9700 | 23 patch -p1 < $stuff/06_show_ball_to_hit |
slaxemulator@9700 | 24 patch -p0 < $stuff/snooker_reset.patch |
slaxemulator@9700 | 25 patch -p0 < $stuff/snooker_draw.patch |
slaxemulator@7500 | 26 |
slaxemulator@7500 | 27 ./configure \ |
slaxemulator@7500 | 28 --prefix=/usr \ |
pascal@14925 | 29 --enable-nvidia=no \ |
slaxemulator@7500 | 30 --infodir=/usr/share/info \ |
slaxemulator@7500 | 31 --mandir=/usr/share/man \ |
slaxemulator@7500 | 32 $CONFIGURE_ARGS && |
pascal@13796 | 33 make && make DESTDIR=$DESTDIR install |
slaxemulator@7500 | 34 } |
slaxemulator@7500 | 35 |
slaxemulator@7500 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7500 | 37 genpkg_rules() |
slaxemulator@7500 | 38 { |
slaxemulator@7500 | 39 mkdir -p $fs/usr/share |
pascal@13796 | 40 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 41 cp -a $install/usr/share/foobillard $fs/usr/share |
slaxemulator@7500 | 42 } |
slaxemulator@7500 | 43 |