wok-next annotate stellarium/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a244e109372e
children d457c4e37c1b
rev   line source
slaxemulator@6526 1 # SliTaz package receipt.
slaxemulator@6526 2
slaxemulator@6526 3 PACKAGE="stellarium"
slaxemulator@11002 4 VERSION="0.11.0"
slaxemulator@6526 5 CATEGORY="games"
slaxemulator@6526 6 SHORT_DESC="A stellarium with great graphics and a nice database of sky-objects"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://www.stellarium.org/"
al@21020 10
slaxemulator@6526 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6526 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6526 13
al@21020 14 BUILD_DEPENDS="gettext-dev perl cmake boost-dev boost-thread mesa-dev \
al@20513 15 qt4 Qt4-dev qmake zlib-dev xorg-libX11-dev libdrm glu-dev"
slaxemulator@11002 16
al@21020 17 compile_rules() {
pascal@20115 18 sed -i 's/Ch.*reau/Chereau/' doc/stellarium*
al@21020 19
al@21020 20 cmake \
al@21020 21 -DCMAKE_INSTALL_PREFIX=/usr \
al@21020 22 -DCMAKE_BUILD_TYPE=RELEASE \
al@21020 23 . &&
al@21020 24 make &&
al@21020 25 make DESTDIR=$install install
slaxemulator@6526 26 }
slaxemulator@6526 27
al@21020 28 genpkg_rules() {
slaxemulator@6526 29 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
pascal@13796 30 cp -a $install/usr/bin $fs/usr
pascal@13796 31 cp -a $install/usr/share/stellarium $fs/usr/share
al@21020 32 DEPENDS="libpng16 mesa glib freetype openssl libQtScript libQtOpenGL \
al@21020 33 libQtSql libQtNetwork libQtGui zlib"
slaxemulator@6526 34 }