wok view celestia/receipt @ rev 21792
Fix ardour & bastet
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 05 12:45:42 2019 +0200 (2019-08-05) |
parents | 7896f0694ef6 |
children | 5b6c86ca3faa |
line source
1 # SliTaz package receipt.
3 PACKAGE="celestia"
4 VERSION="1.6.0"
5 CATEGORY="games"
6 SHORT_DESC="Real-time 3D Space Simulation"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.shatters.net/celestia/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ glew libtheora lua5.1 gtkglext freeglut xorg-libXmu mesa libglu-mesa libjpeg jpeg zlib"
14 BUILD_DEPENDS="$DEPENDS gtk+-dev libtheora-dev lua5.1-dev gtkglext-dev freeglut-dev xorg-libXmu-dev libglu-mesa mesa-dev libpng-dev libogg-dev jpeg-dev glew-dev zlib-dev gettext autoconf"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ldl"
21 patch -p0 -i $stuff/celestia-1.6.0-gcc45.patch
22 patch -p1 -i $stuff/make-dereferenced-temporaries-explicit
23 sed -i 's/NULL/0/' src/celengine/frametree.h
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --with-gtk \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/applications
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/celestia $fs/usr/share
39 cp -a $install/usr/share/pixmaps $fs/usr/share
40 }