wok-next annotate foobillard/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d6378d455338 |
children | 5669e8b3be70 |
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" |
al@21020 | 6 SHORT_DESC="An OpenGL billiard game for Linux" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14927 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="http://foobillard.sourceforge.net/" |
al@21020 | 10 |
slaxemulator@7500 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7500 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7500 | 13 |
al@20502 | 14 BUILD_DEPENDS="libsdl-dev freetype-dev libpng16-dev glu mesa-dev \ |
al@20502 | 15 zlib-dev glu-dev" |
pascal@13796 | 16 |
al@21020 | 17 compile_rules() { |
slaxemulator@7500 | 18 sed -i -e 's/-lXaw//' -e 's/-lXi//' src/Makefile.in |
slaxemulator@7500 | 19 |
slaxemulator@7500 | 20 ./configure \ |
slaxemulator@7500 | 21 --prefix=/usr \ |
pascal@14925 | 22 --enable-nvidia=no \ |
slaxemulator@7500 | 23 --infodir=/usr/share/info \ |
slaxemulator@7500 | 24 --mandir=/usr/share/man \ |
slaxemulator@7500 | 25 $CONFIGURE_ARGS && |
al@21020 | 26 make && |
al@21020 | 27 make DESTDIR=$install install |
slaxemulator@7500 | 28 } |
slaxemulator@7500 | 29 |
al@21020 | 30 genpkg_rules() { |
slaxemulator@7500 | 31 mkdir -p $fs/usr/share |
pascal@13796 | 32 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 33 cp -a $install/usr/share/foobillard $fs/usr/share |
al@21020 | 34 DEPENDS="libsdl freetype libpng16 mesa glu" |
slaxemulator@7500 | 35 } |