wok view stellarium/receipt @ rev 14703

perl-curses: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 07 19:56:18 2013 +0200 (2013-06-07)
parents 6b09507225ec
children 380ffe05937a
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 libdrm"
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 }