wok-next view stellarium/receipt @ rev 20502

Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 16 00:27:34 2018 +0200 (2018-03-16)
parents dd145c435e4b
children d43bf7aae921
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.stellarium.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libpng16 mesa glib freetype openssl libQtScript libQtOpenGL libQtSql \
14 libQtNetwork libQtGui zlib"
15 BUILD_DEPENDS="gettext perl cmake libboost-dev libboost-thread mesa-dev \
16 qt4 Qt4-dev qmake zlib-dev pkg-config xorg-libX11-dev libdrm glu-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/Ch.*reau/Chereau/' doc/stellarium*
22 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE || return 1
23 make
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/stellarium $fs/usr/share
33 }