wok-next view celestia/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children | 82b613cfd1e0 |
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 libpng libtheora mesa pango"
42 }