wok view celestia/receipt @ rev 10391

apr: can't cross (use native)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 18:50:47 2011 +0200 (2011-05-23)
parents a1644dbcf632
children 4f527a2114bf
line source
1 # SliTaz package receipt.
3 PACKAGE="celestia"
4 VERSION="1.6.0"
5 CATEGORY="games"
6 SHORT_DESC="Real-time 3D Space Simulation"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="gtk+ glew libtheora lua gtkglext freeglut xorg-libXmu mesa libglu-mesa libjpeg jpeg zlib"
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"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.shatters.net/celestia/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p0 -i $stuff/celestia-1.6.0-gcc45.patch
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --with-gtk \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/applications
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $stuff/celestia.desktop $fs/usr/share/applications
34 cp -a $_pkg/usr/share/celestia $fs/usr/share
35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
36 }