wok-next view celestia/receipt @ rev 21712
updated gsoap (2.8.96 -> 2.8.104)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 06 16:25:56 2020 +0100 (2020-07-06) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="celestia"
4 VERSION="1.6.1"
5 CATEGORY="games"
6 SHORT_DESC="Real-time 3D Space Simulation"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://celestia.space/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="automake libtool gettext-dev mesa-dev glu-dev gtk2-dev \
15 gtkglext-dev lua5.1-dev libjpeg-turbo-dev libtheora-dev"
17 compile_rules() {
18 sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.in
19 autoreconf -vi || return 1
21 # Celestia-1.6.1 has a bug in the font rendering and requires -fsigned-char
22 export CFLAGS="$CFLAGS -fsigned-char"
23 export CXXFLAGS="$CXXFLAGS -fsigned-char"
25 ./configure \
26 --with-gtk \
27 --disable-rpath \
28 --with-lua \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make \
33 DESTDIR=$install \
34 MKDIR_P='mkdir -p' \
35 install
36 }
38 genpkg_rules() {
39 copy @std
40 DEPENDS="libcairo gdk-pixbuf glib glu gtk2 gtkglext libjpeg-turbo libogg \
41 libpng libtheora mesa pango"
42 }