wok-current annotate foobillardplus/receipt @ rev 17473
syslinux/iso2exe: add 64bits support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 27 17:56:57 2014 +0100 (2014-12-27) |
parents | 33e84bccec26 |
children | 640a2eba2511 |
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@15002 | 8 LICENSE="GPL2" |
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 } |