wok-next view marble/receipt @ rev 20549
gimp: tiny edits
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 04 17:32:49 2018 +0300 (2018-04-04) |
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 }