wok view celestia/receipt @ rev 8429
Up: mc to 4.7.5.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 05 21:51:01 2011 +0000 (2011-02-05) |
parents | |
children | 2ce89a2801d6 |
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
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/applications $fs/usr/share
34 cp -a $_pkg/usr/share/celestia $fs/usr/share
35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
36 }