wok view okular/receipt @ rev 20563

pam: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 12 21:59:09 2018 +0100 (2018-12-12)
parents 9634bfe73272
children 7c0170dd3ecc
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="http://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 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p build && cd build
28 cmake -DCMAKE_BUILD_TYPE=Release \
29 -DCMAKE_INSTALL_PREFIX=/usr \
30 -Wno-dev .. &&
31 make -j1 && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }