wok annotate celestia/receipt @ rev 11734
Up: usbmuxd to 1.0.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 21 15:12:22 2012 -0500 (2012-02-21) |
parents | a1644dbcf632 |
children | 4f527a2114bf |
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" |
slaxemulator@7697 | 8 DEPENDS="gtk+ glew libtheora lua gtkglext freeglut xorg-libXmu mesa libglu-mesa libjpeg jpeg zlib" |
slaxemulator@7697 | 9 BUILD_DEPENDS="$DEPENDS gtk+-dev libtheora-dev lua-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 |
slaxemulator@9698 | 18 patch -p0 -i $stuff/celestia-1.6.0-gcc45.patch |
slaxemulator@7697 | 19 ./configure \ |
slaxemulator@7697 | 20 --prefix=/usr \ |
slaxemulator@7697 | 21 --infodir=/usr/share/info \ |
slaxemulator@7697 | 22 --mandir=/usr/share/man \ |
slaxemulator@7697 | 23 --with-gtk \ |
slaxemulator@7697 | 24 $CONFIGURE_ARGS && |
slaxemulator@7697 | 25 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7697 | 26 } |
slaxemulator@7697 | 27 |
slaxemulator@7697 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7697 | 29 genpkg_rules() |
slaxemulator@7697 | 30 { |
slaxemulator@8641 | 31 mkdir -p $fs/usr/share/applications |
slaxemulator@7697 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@9697 | 33 cp -a $stuff/celestia.desktop $fs/usr/share/applications |
slaxemulator@7697 | 34 cp -a $_pkg/usr/share/celestia $fs/usr/share |
slaxemulator@7697 | 35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
slaxemulator@7697 | 36 } |
slaxemulator@7697 | 37 |