wok annotate qpdfview/receipt @ rev 19215
Up coreutils(8.25)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 15 17:23:11 2016 +0300 (2016-06-15) |
parents | 471f802b4973 |
children | e03f4dac67ec |
rev | line source |
---|---|
al@16625 | 1 # SliTaz package receipt. |
al@16625 | 2 |
al@16625 | 3 PACKAGE="qpdfview" |
psychomaniak@18209 | 4 VERSION="0.4.15" |
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" |
psychomaniak@18209 | 12 TAGS="viewer pdf ps postscript djvu" |
al@16625 | 13 |
psychomaniak@18209 | 14 DEPENDS="libcups djvulibre libQtDBus libQtSql libQtSvg libgnutls file \ |
al@16625 | 15 libspectre poppler-qt4" |
al@16625 | 16 BUILD_DEPENDS="qmake Qt4-dev libspectre-dev poppler-qt4-dev djvulibre-dev \ |
psychomaniak@18212 | 17 libmagic-dev cups-dev zlib-dev wget poppler-qt4 poppler-dev" |
al@16625 | 18 |
al@16625 | 19 # Rules to configure and make the package. |
al@16625 | 20 compile_rules() |
al@16625 | 21 { |
psychomaniak@18209 | 22 find $src -name *desktop* -exec sed '/Icon=/s/=.*$/=pdf/g' -i {} \; |
psychomaniak@18209 | 23 #cp -f $stuff/qpdfview_ru.ts $src/translations |
psychomaniak@18209 | 24 #sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \ |
pascal@18006 | 25 $src/translations/qpdfview_ru.ts |
al@16625 | 26 |
al@16625 | 27 lrelease qpdfview.pro |
al@16625 | 28 qmake PREFIX=/usr qpdfview.pro |
al@16625 | 29 make |
al@16625 | 30 make INSTALL_ROOT=$install install |
al@16625 | 31 } |
al@16625 | 32 |
al@16625 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16625 | 34 genpkg_rules() |
al@16625 | 35 { |
al@16625 | 36 cp -a $install/* $fs |
al@16625 | 37 } |
al@16669 | 38 |