wok-next view celestia/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | f48456621a9d |
children | 5669e8b3be70 |
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="cairo gdk-pixbuf glib glu gtk2 gtkglext libjpeg-turbo libogg \
41 libpng16 libtheora mesa pango"
42 }