wok view qpdfview/receipt @ rev 18156

Add: tazpanel-ttf-css. Fix duplicate: slitaz-base-files (277)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Jun 21 22:56:45 2015 +0300 (2015-06-21)
parents 84c0372a9614
children feb2e0c63d21
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 -f $stuff/qpdfview_ru.ts $src/translations
22 sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \
23 $src/translations/qpdfview_ru.ts
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 }