wok-stable annotate celestia/receipt @ rev 9467

Fix receipts that remove lines that removed .pyc and .pyo files. Tazwok does that now.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Apr 03 14:11:25 2011 +0000 (2011-04-03)
parents aed057989545
children a1644dbcf632
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@7697 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
slaxemulator@8641 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