wok annotate celestia/receipt @ rev 18884
Up backuppc (3.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 12 09:38:53 2016 +0100 (2016-02-12) |
parents | 7896f0694ef6 |
children | 5b6c86ca3faa |
rev | line source |
---|---|
slaxemulator@7697 | 1 # SliTaz package receipt. |
slaxemulator@7697 | 2 |
slaxemulator@7697 | 3 PACKAGE="celestia" |
slaxemulator@7697 | 4 VERSION="1.6.0" |
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" |
slaxemulator@7697 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7697 | 10 WEB_SITE="http://www.shatters.net/celestia/" |
slaxemulator@7697 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7697 | 12 |
pascal@15002 | 13 DEPENDS="gtk+ glew libtheora lua5.1 gtkglext freeglut xorg-libXmu mesa libglu-mesa libjpeg jpeg zlib" |
pascal@15002 | 14 BUILD_DEPENDS="$DEPENDS gtk+-dev libtheora-dev lua5.1-dev gtkglext-dev freeglut-dev xorg-libXmu-dev libglu-mesa mesa-dev libpng-dev libogg-dev jpeg-dev glew-dev zlib-dev gettext autoconf" |
pascal@15002 | 15 |
slaxemulator@7697 | 16 # Rules to configure and make the package. |
slaxemulator@7697 | 17 compile_rules() |
slaxemulator@7697 | 18 { |
slaxemulator@7697 | 19 cd $src |
pascal@17670 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ldl" |
slaxemulator@9698 | 21 patch -p0 -i $stuff/celestia-1.6.0-gcc45.patch |
pascal@12929 | 22 patch -p1 -i $stuff/make-dereferenced-temporaries-explicit |
pascal@12930 | 23 sed -i 's/NULL/0/' src/celengine/frametree.h |
slaxemulator@7697 | 24 ./configure \ |
slaxemulator@7697 | 25 --prefix=/usr \ |
slaxemulator@7697 | 26 --infodir=/usr/share/info \ |
slaxemulator@7697 | 27 --mandir=/usr/share/man \ |
slaxemulator@7697 | 28 --with-gtk \ |
slaxemulator@7697 | 29 $CONFIGURE_ARGS && |
pascal@13796 | 30 make && make DESTDIR=$DESTDIR install |
slaxemulator@7697 | 31 } |
slaxemulator@7697 | 32 |
slaxemulator@7697 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7697 | 34 genpkg_rules() |
slaxemulator@7697 | 35 { |
slaxemulator@8641 | 36 mkdir -p $fs/usr/share/applications |
pascal@13796 | 37 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 38 cp -a $install/usr/share/celestia $fs/usr/share |
pascal@13796 | 39 cp -a $install/usr/share/pixmaps $fs/usr/share |
slaxemulator@7697 | 40 } |
slaxemulator@7697 | 41 |