wok-next view qpdfview/receipt @ rev 16625
Up: poppler (0.26.0); Add: copyq, libspectre, qpdfview (currently need debug).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 09 20:45:01 2014 +0300 (2014-05-09) |
parents | |
children | 0ef249d55672 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qpdfview"
4 VERSION="0.4.10"
5 CATEGORY="office"
6 SHORT_DESC="qpdfview is a tabbed document viewer"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://launchpad.net/qpdfview"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
13 DEPENDS="cups djvulibre libQtDBus libQtSql libQtSvg libgnutls libmagic \
14 libspectre poppler-qt4"
15 BUILD_DEPENDS="qmake Qt4-dev libspectre-dev poppler-qt4-dev djvulibre-dev \
16 libmagic-dev cups-dev zlib-dev wget"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cp /usr/lib/poppler-qt4.pc /usr/lib/pkgconfig
23 cp -f $stuff/qpdfview_ru.ts $src/translations
25 lrelease qpdfview.pro
26 qmake PREFIX=/usr qpdfview.pro
27 make
28 make INSTALL_ROOT=$install install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }