wok view okular/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 7c0170dd3ecc
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="okular"
4 VERSION="4.14.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Okular is a document viewer for KDE"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.kde.org/"
11 WGET_URL="https://download.kde.org/stable/$VERSION/src/$TARBALL"
13 DEPENDS="kdelibs phonon exiv2 poppler-qt4 chmlib taglib giflib tiff djvulibre \
14 poppler-qt4-apps poppler qimageblitz dbus polkit-qt attica libdbusmenu-qt \
15 util-linux-uuid libpng jpeg qtconfig oxygen-icons kactivities"
17 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev libxslt-dev taglib-dev giflib-dev \
18 libpng-dev jpeg-dev tiff-dev freetype-dev djvulibre-dev chmlib-dev poppler \
19 poppler-dev poppler-qt4 poppler-qt4-dev poppler-qt4-apps qimageblitz \
20 shared-mime-info-dev phonon phonon-dev docbook-xml docbook-xsl dbus-dev \
21 polkit-qt-dev libdbusmenu-qt-dev libQtDeclarative alsa-lib-dev exiv2-dev \
22 attica-dev libboost libboost-dev kdelibs kdelibs-dev kactivities kfilemetadata"
24 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - https://okular.kde.org/ 2>/dev/null | \
28 sed 's|>|>\n|g' | sed '/been released/!d;s|The ||;s| .*||;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 mkdir -p build && cd build
35 cmake -DCMAKE_BUILD_TYPE=Release \
36 -DCMAKE_INSTALL_PREFIX=/usr \
37 -Wno-dev .. &&
38 make -j1 && make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 }