wok-6.x view foobillardplus/receipt @ rev 14944
Up: edbus-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:49 2013 +0200 (2013-08-08) |
parents | |
children | 7896f0694ef6 |
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=""
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 }