wok-6.x diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/foobillardplus/receipt Mon Jul 22 18:17:33 2013 -0300 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="foobillardplus" 1.7 +VERSION="3.42beta" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="FooBillard - free 3D OpenGL billard game for linux" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="" 1.12 +WEB_SITE="http://foobillard.sourceforge.net/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 + 1.16 +DEPENDS="bzlib freetype libglu-mesa libpng libsdl-mixer libsdl-net" 1.17 + 1.18 +BUILD_DEPENDS="bash automake autoconf libsdl-dev libsdl-mixer-dev \ 1.19 +libsdl-net-dev mesa-dev libglu-mesa freetype-dev libpng-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + aclocal --force 1.25 + autoconf -f 1.26 + autoheader -f 1.27 + automake --gnu -a -c -f 1.28 + ./configure && 1.29 + make 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/bin $fs/usr/share/foobillardplus 1.36 + cp -a $src/src/foobillardplus $fs/usr/bin 1.37 + DATADIR=$fs/usr/share/foobillardplus 1.38 + cp -a $src/data/* $DATADIR 1.39 + rm -f $DATADIR/*.ttf 1.40 + rm -f $DATADIR/*.ico 1.41 + # move to package foobillardplus-music 1.42 + rm -rf $DATADIR/music 1.43 +}