wok-6.x annotate foobillardplus/receipt @ rev 14859
Up: gpodder (3.5.1)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Mon Jul 22 18:17:33 2013 -0300 (2013-07-22) |
parents | |
children | 7896f0694ef6 |
rev | line source |
---|---|
pascal@14379 | 1 # SliTaz package receipt. |
pascal@14379 | 2 |
pascal@14379 | 3 PACKAGE="foobillardplus" |
pascal@14379 | 4 VERSION="3.42beta" |
pascal@14379 | 5 CATEGORY="games" |
pascal@14379 | 6 SHORT_DESC="FooBillard - free 3D OpenGL billard game for linux" |
pascal@14379 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14379 | 8 LICENSE="" |
pascal@14379 | 9 WEB_SITE="http://foobillard.sourceforge.net/" |
pascal@14379 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14379 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@14379 | 12 |
pascal@14379 | 13 DEPENDS="bzlib freetype libglu-mesa libpng libsdl-mixer libsdl-net" |
pascal@14379 | 14 |
pascal@14379 | 15 BUILD_DEPENDS="bash automake autoconf libsdl-dev libsdl-mixer-dev \ |
pascal@14379 | 16 libsdl-net-dev mesa-dev libglu-mesa freetype-dev libpng-dev" |
pascal@14379 | 17 |
pascal@14379 | 18 # Rules to configure and make the package. |
pascal@14379 | 19 compile_rules() |
pascal@14379 | 20 { |
pascal@14379 | 21 aclocal --force |
pascal@14379 | 22 autoconf -f |
pascal@14379 | 23 autoheader -f |
pascal@14379 | 24 automake --gnu -a -c -f |
pascal@14379 | 25 ./configure && |
pascal@14379 | 26 make |
pascal@14379 | 27 } |
pascal@14379 | 28 |
pascal@14379 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14379 | 30 genpkg_rules() |
pascal@14379 | 31 { |
pascal@14379 | 32 mkdir -p $fs/usr/bin $fs/usr/share/foobillardplus |
pascal@14379 | 33 cp -a $src/src/foobillardplus $fs/usr/bin |
pascal@14379 | 34 DATADIR=$fs/usr/share/foobillardplus |
pascal@14379 | 35 cp -a $src/data/* $DATADIR |
pascal@14379 | 36 rm -f $DATADIR/*.ttf |
pascal@14379 | 37 rm -f $DATADIR/*.ico |
pascal@14379 | 38 # move to package foobillardplus-music |
pascal@14379 | 39 rm -rf $DATADIR/music |
pascal@14379 | 40 } |