wok-next view qpdfview/receipt @ rev 17108

qps: s/-O2/-Os/g
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Sep 01 17:36:26 2014 +0200 (2014-09-01)
parents 0ef249d55672
children c85231500a1d
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
23 lrelease qpdfview.pro
24 qmake PREFIX=/usr qpdfview.pro
25 make
26 make INSTALL_ROOT=$install install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }