wok-current view marble/receipt @ rev 23145

updated luafilesystem (1.7.0 -> 1.7.0.2)
author Hans-G?nter Theisgen
date Sun Mar 15 09:31:30 2020 +0100 (2020-03-15)
parents 04d1aa7b70ca
children 34e801e0eb52
line source
1 # SliTaz package receipt.
3 PACKAGE="marble"
4 VERSION="v15.03.97"
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="libQtWebkit libQtDeclarative libQtDBus"
16 BUILD_DEPENDS="git Qt4-dev cmake libQtDeclarative qmake"
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 }