wok-next annotate stellarium/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d457c4e37c1b |
children |
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@21041 | 9 WEB_SITE="http://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@21078 | 15 qt4 Qt4-dev qmake zlib-dev 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@21078 | 32 DEPENDS="libpng mesa glib freetype openssl libQtScript libQtOpenGL \ |
al@21020 | 33 libQtSql libQtNetwork libQtGui zlib" |
slaxemulator@6526 | 34 } |