wok-next annotate 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 |
rev | line source |
---|---|
al@20555 | 1 # SliTaz package receipt v2. |
slaxemulator@7697 | 2 |
slaxemulator@7697 | 3 PACKAGE="celestia" |
pascal@20128 | 4 VERSION="1.6.1" |
slaxemulator@7697 | 5 CATEGORY="games" |
slaxemulator@7697 | 6 SHORT_DESC="Real-time 3D Space Simulation" |
slaxemulator@7697 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15002 | 8 LICENSE="GPL2" |
al@20759 | 9 WEB_SITE="https://celestia.space/" |
al@20555 | 10 |
slaxemulator@7697 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7697 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7697 | 13 |
al@21017 | 14 BUILD_DEPENDS="automake libtool gettext mesa-dev glu-dev gtk2-dev gtkglext-dev \ |
al@20759 | 15 lua5.1-dev libjpeg-turbo-dev libtheora-dev" |
pascal@15002 | 16 |
al@20555 | 17 compile_rules() { |
al@20759 | 18 sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.in |
al@20759 | 19 autoreconf -vi || return 1 |
al@20560 | 20 |
al@20759 | 21 # Celestia-1.6.1 has a bug in the font rendering and requires -fsigned-char |
al@20759 | 22 export CFLAGS="$CFLAGS -fsigned-char" |
al@20759 | 23 export CXXFLAGS="$CXXFLAGS -fsigned-char" |
al@20555 | 24 |
slaxemulator@7697 | 25 ./configure \ |
slaxemulator@7697 | 26 --with-gtk \ |
al@20759 | 27 --disable-rpath \ |
al@20759 | 28 --with-lua \ |
slaxemulator@7697 | 29 $CONFIGURE_ARGS && |
al@20569 | 30 fix libtool && |
al@20555 | 31 make && |
al@20759 | 32 make \ |
al@20759 | 33 DESTDIR=$DESTDIR \ |
al@20759 | 34 MKDIR_P='mkdir -p' \ |
al@20759 | 35 install |
slaxemulator@7697 | 36 } |
slaxemulator@7697 | 37 |
al@20555 | 38 genpkg_rules() { |
al@20555 | 39 copy @std |
al@21017 | 40 DEPENDS="cairo gdk-pixbuf glib glu gtk2 gtkglext libjpeg-turbo libogg \ |
al@20759 | 41 libpng16 libtheora mesa pango" |
slaxemulator@7697 | 42 } |