wok-4.x view celestia/receipt @ rev 12466

New toolchain GCC 4.9.2, Glibc 2.19, Binutils 2.23.1
author Stanislas Leduc <shann@slitaz.org>
date Wed Nov 09 15:12:00 2022 +0000 (2022-11-09)
parents fc20a2fab76c
children
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 $_pkg/usr/share/celestia $fs/usr/share
34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
35 }