wok-next view foobillardplus/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents dd145c435e4b
children d72501f4ab49
line source
1 # SliTaz package receipt v2.
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 glu libpng16 libsdl-mixer libsdl-net"
15 BUILD_DEPENDS="bash automake autoconf libsdl-dev libsdl-mixer-dev \
16 libsdl-net-dev mesa-dev glu freetype-dev libpng16-dev glu-dev"
17 SPLIT="foobillardplus foobillardplus-music"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 aclocal --force
23 autoconf -f
24 autoheader -f
25 automake --gnu -a -c -f
26 ./configure &&
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 foobillardplus)
35 mkdir -p $fs/usr/bin $fs/usr/share/foobillardplus
36 cp -a $src/src/foobillardplus $fs/usr/bin
37 DATADIR=$fs/usr/share/foobillardplus
38 cp -a $src/data/* $DATADIR
39 rm -f $DATADIR/*.ttf
40 rm -f $DATADIR/*.ico
41 # move to package foobillardplus-music
42 rm -rf $DATADIR/music
43 ;;
44 foobillardplus-music)
45 CAT="games|Music files for FooBillard++"
46 DEPENDS="foobillardplus"
47 mkdir -p $fs/usr/share/foobillardplus
48 cp -a $src/data/music $fs/usr/share/foobillardplus
49 ;;
50 esac
51 }