wok-next view celestia/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 20b16e3448fe |
children | d5aab818505e |
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="slaxemulator@gmail.com"
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 mesa-dev glu-dev gtk2-dev gtkglext-dev \
15 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=$DESTDIR \
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 }