wok-next annotate foobillard/receipt @ rev 14485
gst-python-dev: update deps+bdeps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu May 02 22:51:54 2013 +0200 (2013-05-02) |
parents | d1768332cee0 |
children | 5735e0b38f6f |
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 \ |
slaxemulator@7500 | 28 --infodir=/usr/share/info \ |
slaxemulator@7500 | 29 --mandir=/usr/share/man \ |
slaxemulator@7500 | 30 $CONFIGURE_ARGS && |
pascal@13796 | 31 make && make DESTDIR=$DESTDIR install |
slaxemulator@7500 | 32 } |
slaxemulator@7500 | 33 |
slaxemulator@7500 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7500 | 35 genpkg_rules() |
slaxemulator@7500 | 36 { |
slaxemulator@7500 | 37 mkdir -p $fs/usr/share |
pascal@13796 | 38 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 39 cp -a $install/usr/share/foobillard $fs/usr/share |
slaxemulator@7500 | 40 } |
slaxemulator@7500 | 41 |