wok-6.x view foobillardplus/receipt @ rev 21102
perl-image-magick, libjpeg: update version, jabberd2: fix deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 18 19:29:35 2019 +0100 (2019-03-18) |
parents | 33e84bccec26 |
children | 640a2eba2511 |
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 }