wok-next view marble/receipt @ rev 20780
GnuPG update: 2.1.21 (2017 May) -> 2.2.8 (CVE-2018-12020) -> GnuPG 2.2.x is the current stable branch of GnuPG
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 05:44:49 2018 +0000 (2018-06-09) |
parents | 0a1321c0d5e5 |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="marble"
4 VERSION="v17.08.2"
5 CATEGORY="misc"
6 SHORT_DESC="A virtual globe and world atlas."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1 GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://marble.kde.org/"
11 BRANCH="$VERSION"
12 WGET_URL="git|git://anongit.kde.org/marble"
13 TAGS="globe atlas"
15 DEPENDS="qt5-base "
16 BUILD_DEPENDS="git qt5-dev cmake xorg-dev mesa-dev zlib-dev "
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build; cd build
22 cmake -DCMAKE_BUILD_TYPE=Release -DQTONLY=TRUE \
23 -DCMAKE_INSTALL_PREFIX=/usr .. &&
24 make &&
25 make install
27 # remove unwanted files
28 # cd $DESTDIR/usr/share/applications
29 # mv marble_osm.desktop marble.desktop
30 # for i in $(sed '/MimeType/!d;s/.*=//' marble_*); do
31 # sed -i "s|MimeType.*|&$i|" marble.desktop
32 # done
33 # rm -f marble_*.desktop marble-*.desktop
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs
41 # remove unwanted files
42 rm -rf $fs/usr/include
43 rm -rf $fs/usr/share/marble/cmake
44 # rm $fs/usr/bin/marble-mobile $fs/usr/bin/marble-touch
45 }