wok-next view marble/receipt @ rev 20030

Up flam3 (3.1.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 15:52:59 2017 +0200 (2017-10-22)
parents 8d090f5aece0
children c0521c689857
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 mesa17-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 }