wok-current view foobillardplus/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
parents | 640a2eba2511 |
children | 7dd01dedad38 |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/foobillardplus/files/source/ 2>/dev/null | \
22 sed '/scope="row/!d;/README/d;s|.*/foobillardplus-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 aclocal --force
29 autoconf -f
30 autoheader -f
31 automake --gnu -a -c -f
32 ac_cv_prog_cc_c99=no ./configure &&
33 make
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin $fs/usr/share/foobillardplus
40 cp -a $src/src/foobillardplus $fs/usr/bin
41 DATADIR=$fs/usr/share/foobillardplus
42 cp -a $src/data/* $DATADIR
43 rm -f $DATADIR/*.ttf
44 rm -f $DATADIR/*.ico
45 # move to package foobillardplus-music
46 rm -rf $DATADIR/music
47 }