wok-current view stellarium/receipt @ rev 11663

syslinux: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 13 22:03:47 2012 +0100 (2012-02-13)
parents 940b5937e496
children 6b09507225ec
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 libQtNetwork libQtGui zlib"
13 BUILD_DEPENDS="gettext perl cmake libboost-dev libboost-thread-dev mesa-dev qt4 Qt4-dev qmake zlib-dev pkg-config xorg-libX11-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE || return 1
20 make
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/stellarium $fs/usr/share
30 }