wok view celestia/receipt @ rev 14260

lxpanel*: up 0.5.12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 30 18:45:07 2013 +0000 (2013-03-30)
parents 6b09507225ec
children 7896f0694ef6
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 DEPENDS="gtk+ glew libtheora lua5.1 gtkglext freeglut xorg-libXmu mesa libglu-mesa libjpeg jpeg zlib"
9 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"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.shatters.net/celestia/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 export LDFLAGS="-Wl,--copy-dt-needed-entries -ldl"
19 patch -p0 -i $stuff/celestia-1.6.0-gcc45.patch
20 patch -p1 -i $stuff/make-dereferenced-temporaries-explicit
21 sed -i 's/NULL/0/' src/celengine/frametree.h
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --with-gtk \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/applications
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/celestia $fs/usr/share
37 cp -a $install/usr/share/pixmaps $fs/usr/share
38 }