wok-next annotate qpdfview/receipt @ rev 18757

syslinux: compress c32 modules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 29 08:59:31 2015 +0100 (2015-12-29)
parents 471f802b4973
children d5aab818505e
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