wok-next annotate qpdfview/receipt @ rev 18195
Up tazpanel (505)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 12 13:20:03 2015 +0200 (2015-07-12) |
parents | 84c0372a9614 |
children | feb2e0c63d21 |
rev | line source |
---|---|
al@16625 | 1 # SliTaz package receipt. |
al@16625 | 2 |
al@16625 | 3 PACKAGE="qpdfview" |
al@16625 | 4 VERSION="0.4.10" |
al@16625 | 5 CATEGORY="office" |
al@16625 | 6 SHORT_DESC="qpdfview is a tabbed document viewer" |
al@16625 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16625 | 8 LICENSE="GPL2" |
al@16625 | 9 WEB_SITE="https://launchpad.net/qpdfview" |
al@16625 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16625 | 11 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL" |
al@16625 | 12 |
al@16625 | 13 DEPENDS="cups djvulibre libQtDBus libQtSql libQtSvg libgnutls libmagic \ |
al@16625 | 14 libspectre poppler-qt4" |
al@16625 | 15 BUILD_DEPENDS="qmake Qt4-dev libspectre-dev poppler-qt4-dev djvulibre-dev \ |
al@16625 | 16 libmagic-dev cups-dev zlib-dev wget" |
al@16625 | 17 |
al@16625 | 18 # Rules to configure and make the package. |
al@16625 | 19 compile_rules() |
al@16625 | 20 { |
al@16625 | 21 cp -f $stuff/qpdfview_ru.ts $src/translations |
pascal@18006 | 22 sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \ |
pascal@18006 | 23 $src/translations/qpdfview_ru.ts |
al@16625 | 24 |
al@16625 | 25 lrelease qpdfview.pro |
al@16625 | 26 qmake PREFIX=/usr qpdfview.pro |
al@16625 | 27 make |
al@16625 | 28 make INSTALL_ROOT=$install install |
al@16625 | 29 } |
al@16625 | 30 |
al@16625 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16625 | 32 genpkg_rules() |
al@16625 | 33 { |
al@16625 | 34 cp -a $install/* $fs |
al@16625 | 35 } |
al@16669 | 36 |