wok annotate celestia/receipt @ rev 23780
updated xrdp and xrdp-dev again (0.9.11 -> 0.9.13)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 21 14:12:17 2020 +0100 (2020-05-21) |
parents | 7858ead7023c |
children | 9af0e03b8ad0 |
rev | line source |
---|---|
slaxemulator@7697 | 1 # SliTaz package receipt. |
slaxemulator@7697 | 2 |
slaxemulator@7697 | 3 PACKAGE="celestia" |
Hans-G?nter@22587 | 4 VERSION="1.6.1" |
slaxemulator@7697 | 5 CATEGORY="games" |
Hans-G?nter@22587 | 6 SHORT_DESC="Real-time 3D Space Simulation." |
slaxemulator@7697 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@22602 | 9 WEB_SITE="http://celestia.sourceforge.net/" |
Hans-G?nter@22587 | 10 |
slaxemulator@7697 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7697 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7697 | 13 |
Hans-G?nter@22587 | 14 DEPENDS="freeglut glew gtk+ gtkglext jpeg libglu-mesa libjpeg libtheora |
Hans-G?nter@22587 | 15 lua5.1 mesa xorg-libXmu zlib" |
Hans-G?nter@22587 | 16 BUILD_DEPENDS="autoconf freeglut-dev gettext glew-dev gtk+-dev gtkglext-dev |
Hans-G?nter@22587 | 17 jpeg-dev libglu-mesa libogg-dev libpng-dev libtheora-dev lua5.1-dev |
Hans-G?nter@22587 | 18 mesa-dev xorg-libXmu-dev zlib-dev" |
pascal@15002 | 19 |
slaxemulator@7697 | 20 # Rules to configure and make the package. |
slaxemulator@7697 | 21 compile_rules() |
slaxemulator@7697 | 22 { |
pascal@17670 | 23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ldl" |
Hans-G?nter@22587 | 24 # 1.6.0 |
Hans-G?nter@22587 | 25 # patch -p0 -i $stuff/celestia-1.6.0-gcc45.patch |
Hans-G?nter@22587 | 26 # patch -p1 -i $stuff/make-dereferenced-temporaries-explicit |
pascal@12930 | 27 sed -i 's/NULL/0/' src/celengine/frametree.h |
Hans-G?nter@22587 | 28 |
Hans-G?nter@22587 | 29 ./configure \ |
Hans-G?nter@22587 | 30 --prefix=/usr \ |
Hans-G?nter@22587 | 31 --infodir=/usr/share/info \ |
Hans-G?nter@22587 | 32 --mandir=/usr/share/man \ |
Hans-G?nter@22587 | 33 --with-gtk \ |
slaxemulator@7697 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@22587 | 35 make && |
Hans-G?nter@22587 | 36 make DESTDIR=$DESTDIR install |
slaxemulator@7697 | 37 } |
slaxemulator@7697 | 38 |
slaxemulator@7697 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7697 | 40 genpkg_rules() |
slaxemulator@7697 | 41 { |
slaxemulator@8641 | 42 mkdir -p $fs/usr/share/applications |
Hans-G?nter@22587 | 43 |
Hans-G?nter@22587 | 44 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22587 | 45 cp -a $install/usr/share/celestia $fs/usr/share |
Hans-G?nter@22587 | 46 cp -a $install/usr/share/pixmaps $fs/usr/share |
slaxemulator@7697 | 47 } |