wok-next annotate 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 |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
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@21020 | 14 BUILD_DEPENDS="automake libtool gettext-dev mesa-dev glu-dev gtk2-dev \ |
al@21020 | 15 gtkglext-dev 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@21020 | 33 DESTDIR=$install \ |
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@21105 | 40 DEPENDS="libcairo gdk-pixbuf glib glu gtk2 gtkglext libjpeg-turbo libogg \ |
al@21078 | 41 libpng libtheora mesa pango" |
slaxemulator@7697 | 42 } |