wok-next view foobillardplus/receipt @ rev 18900
Up: Correct link to author homepage and better appearance file description in Tazpanel.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Feb 18 16:11:22 2016 -0200 (2016-02-18) |
parents | 33e84bccec26 |
children | 6ff3a3889626 |
line source
1 # SliTaz package receipt.
3 PACKAGE="foobillardplus"
4 VERSION="3.42beta"
5 CATEGORY="games"
6 SHORT_DESC="FooBillard - free 3D OpenGL billard game for linux"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://foobillard.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="bzlib freetype libglu-mesa libpng libsdl-mixer libsdl-net"
15 BUILD_DEPENDS="bash automake autoconf libsdl-dev libsdl-mixer-dev \
16 libsdl-net-dev mesa-dev libglu-mesa freetype-dev libpng-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 aclocal --force
22 autoconf -f
23 autoheader -f
24 automake --gnu -a -c -f
25 ./configure &&
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/share/foobillardplus
33 cp -a $src/src/foobillardplus $fs/usr/bin
34 DATADIR=$fs/usr/share/foobillardplus
35 cp -a $src/data/* $DATADIR
36 rm -f $DATADIR/*.ttf
37 rm -f $DATADIR/*.ico
38 # move to package foobillardplus-music
39 rm -rf $DATADIR/music
40 }