wok-next diff marble/receipt @ rev 21051
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 30 01:34:53 2018 +0200 (2018-11-30) |
parents | c0521c689857 |
children |
line diff
1.1 --- a/marble/receipt Fri Mar 16 00:27:34 2018 +0200 1.2 +++ b/marble/receipt Fri Nov 30 01:34:53 2018 +0200 1.3 @@ -1,31 +1,32 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="marble" 1.8 VERSION="v17.08.2" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="A virtual globe and world atlas." 1.11 +SHORT_DESC="A virtual globe and world atlas" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="LGPL2.1 GPL3" 1.14 +WEB_SITE="https://marble.kde.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="https://marble.kde.org/" 1.18 BRANCH="$VERSION" 1.19 WGET_URL="git|git://anongit.kde.org/marble" 1.20 -TAGS="globe atlas" 1.21 1.22 -DEPENDS="qt5-base " 1.23 -BUILD_DEPENDS="git qt5-dev cmake xorg-dev mesa-dev zlib-dev " 1.24 +BUILD_DEPENDS="git qt5-dev cmake xorg-dev mesa-dev zlib-dev" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 - mkdir build; cd build 1.30 - cmake -DCMAKE_BUILD_TYPE=Release -DQTONLY=TRUE \ 1.31 - -DCMAKE_INSTALL_PREFIX=/usr .. && 1.32 +compile_rules() { 1.33 + mkdir build 1.34 + cd build 1.35 + cmake \ 1.36 + -DCMAKE_BUILD_TYPE=Release \ 1.37 + -DQTONLY=TRUE \ 1.38 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.39 + .. && 1.40 make && 1.41 make install 1.42 1.43 # remove unwanted files 1.44 -# cd $DESTDIR/usr/share/applications 1.45 +# cd $install/usr/share/applications 1.46 # mv marble_osm.desktop marble.desktop 1.47 # for i in $(sed '/MimeType/!d;s/.*=//' marble_*); do 1.48 # sed -i "s|MimeType.*|&$i|" marble.desktop 1.49 @@ -33,13 +34,13 @@ 1.50 # rm -f marble_*.desktop marble-*.desktop 1.51 } 1.52 1.53 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.54 -genpkg_rules() 1.55 -{ 1.56 +genpkg_rules() { 1.57 cp -a $install/usr $fs 1.58 1.59 # remove unwanted files 1.60 rm -rf $fs/usr/include 1.61 rm -rf $fs/usr/share/marble/cmake 1.62 # rm $fs/usr/bin/marble-mobile $fs/usr/bin/marble-touch 1.63 + DEPENDS="qt5-base" 1.64 + TAGS="globe atlas" 1.65 }