wok annotate qpdfview/receipt @ rev 25137
updated phpmyadmin (5.0.2 -> 5.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 11:08:48 2022 +0100 (2022-06-29) |
parents | e03f4dac67ec |
children | 70a00c0a16d3 |
rev | line source |
---|---|
al@16625 | 1 # SliTaz package receipt. |
al@16625 | 2 |
al@16625 | 3 PACKAGE="qpdfview" |
Hans-G?nter@21744 | 4 VERSION="0.4.16" |
al@16625 | 5 CATEGORY="office" |
Hans-G?nter@21744 | 6 TAGS="viewer pdf ps postscript djvu" |
Hans-G?nter@21744 | 7 SHORT_DESC="A tabbed document viewer." |
al@16625 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@16625 | 9 LICENSE="GPL2" |
al@16625 | 10 WEB_SITE="https://launchpad.net/qpdfview" |
Hans-G?nter@21744 | 11 |
al@16625 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21744 | 13 WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL" |
al@16625 | 14 |
Hans-G?nter@21744 | 15 DEPENDS="djvulibre file libcups libgnutls libQtDBus libQtSql libQtSvg \ |
Hans-G?nter@21744 | 16 libspectre poppler-qt4" |
Hans-G?nter@21744 | 17 BUILD_DEPENDS="cups-dev djvulibre-dev libmagic-dev libspectre-dev \ |
Hans-G?nter@21744 | 18 poppler-dev poppler-qt4 poppler-qt4-dev qmake Qt4-dev wget zlib-dev" |
al@16625 | 19 |
pascal@24434 | 20 # What is the latest version available today? |
pascal@24434 | 21 current_version() |
pascal@24434 | 22 { |
pascal@24434 | 23 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24434 | 24 sed '/Latest version is/!d;s|.*is ||' |
pascal@24434 | 25 } |
pascal@24434 | 26 |
al@16625 | 27 # Rules to configure and make the package. |
al@16625 | 28 compile_rules() |
al@16625 | 29 { |
psychomaniak@18209 | 30 find $src -name *desktop* -exec sed '/Icon=/s/=.*$/=pdf/g' -i {} \; |
psychomaniak@18209 | 31 #cp -f $stuff/qpdfview_ru.ts $src/translations |
psychomaniak@18209 | 32 #sed -i "s/copy; \\([0-9]*-\\)[0-9]*/copy; \\1$(date +%Y)/" \ |
pascal@18006 | 33 $src/translations/qpdfview_ru.ts |
al@16625 | 34 |
al@16625 | 35 lrelease qpdfview.pro |
Hans-G?nter@21744 | 36 qmake PREFIX=/usr qpdfview.pro && |
Hans-G?nter@21744 | 37 make && |
al@16625 | 38 make INSTALL_ROOT=$install install |
al@16625 | 39 } |
al@16625 | 40 |
al@16625 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16625 | 42 genpkg_rules() |
al@16625 | 43 { |
al@16625 | 44 cp -a $install/* $fs |
al@16625 | 45 } |