wok-next annotate celestia/receipt @ rev 14220
nss: tiny fix
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Mon Mar 18 20:48:03 2013 +0100 (2013-03-18) |
parents | 6b09507225ec |
children | 7896f0694ef6 |
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@13859 | 8 DEPENDS="gtk+ glew libtheora lua5.1 gtkglext freeglut xorg-libXmu mesa libglu-mesa libjpeg jpeg zlib" |
pascal@13859 | 9 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" |
slaxemulator@7697 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7697 | 11 WEB_SITE="http://www.shatters.net/celestia/" |
slaxemulator@7697 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7697 | 13 |
slaxemulator@7697 | 14 # Rules to configure and make the package. |
slaxemulator@7697 | 15 compile_rules() |
slaxemulator@7697 | 16 { |
slaxemulator@7697 | 17 cd $src |
pascal@12930 | 18 export LDFLAGS="-Wl,--copy-dt-needed-entries -ldl" |
slaxemulator@9698 | 19 patch -p0 -i $stuff/celestia-1.6.0-gcc45.patch |
pascal@12929 | 20 patch -p1 -i $stuff/make-dereferenced-temporaries-explicit |
pascal@12930 | 21 sed -i 's/NULL/0/' src/celengine/frametree.h |
slaxemulator@7697 | 22 ./configure \ |
slaxemulator@7697 | 23 --prefix=/usr \ |
slaxemulator@7697 | 24 --infodir=/usr/share/info \ |
slaxemulator@7697 | 25 --mandir=/usr/share/man \ |
slaxemulator@7697 | 26 --with-gtk \ |
slaxemulator@7697 | 27 $CONFIGURE_ARGS && |
pascal@13796 | 28 make && make DESTDIR=$DESTDIR install |
slaxemulator@7697 | 29 } |
slaxemulator@7697 | 30 |
slaxemulator@7697 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7697 | 32 genpkg_rules() |
slaxemulator@7697 | 33 { |
slaxemulator@8641 | 34 mkdir -p $fs/usr/share/applications |
pascal@13796 | 35 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 36 cp -a $install/usr/share/celestia $fs/usr/share |
pascal@13796 | 37 cp -a $install/usr/share/pixmaps $fs/usr/share |
slaxemulator@7697 | 38 } |
slaxemulator@7697 | 39 |