wok-current view celestia/receipt @ rev 22144
updated x264 and x264-dev (20160517-2245 -> 20191105-2245)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 06 15:16:51 2019 +0100 (2019-11-06) |
parents | 17e313b5b9c1 |
children | 667a6ebad331 |
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="https://celestia.space/"
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 }