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

Up lzip (1.13)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 28 15:43:44 2013 +0100 (2013-02-28)
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 }