wok-6.x view stellarium/receipt @ rev 13845

lyx: fix for gcc 4.6
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 08 21:25:10 2013 +0100 (2013-01-08)
parents 107cbd2c6157
children 68ec33732967
line source
1 # SliTaz package receipt.
3 PACKAGE="stellarium"
4 VERSION="0.11.0"
5 CATEGORY="games"
6 SHORT_DESC="A stellarium with great graphics and a nice database of sky-objects"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.stellarium.org/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="libpng mesa glib freetype openssl libQtScript libQtOpenGL libQtSql \
13 libQtNetwork libQtGui zlib"
14 BUILD_DEPENDS="gettext perl cmake libboost-dev libboost-thread-dev mesa-dev \
15 qt4 Qt4-dev qmake zlib-dev pkg-config xorg-libX11-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE || return 1
22 make
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share/stellarium $fs/usr/share
32 }