wok-next view foobillardplus/receipt @ rev 16091
Up xine-lib (1.2.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 16 10:04:50 2014 +0000 (2014-03-16) |
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 }