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