wok-6.x view diffpdf/receipt @ rev 25107

Up open-iscsi (2.0.873)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 17:23:49 2022 +0000 (2022-06-22)
parents 38376338ffe3
children 742d338c8574
line source
1 # SliTaz package receipt.
3 PACKAGE="diffpdf"
4 VERSION="2.1.3"
5 CATEGORY="utilities"
6 SHORT_DESC="PDF files comparator."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gitlab.com/eang/diffpdf"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.qtrac.eu/$TARBALL"
14 DEPENDS="poppler-qt4"
15 BUILD_DEPENDS="poppler-qt4-dev qmake Qt4-dev"
17 current_version()
18 {
19 wget -O - https://gitlab.com/eang/diffpdf/-/tags 2>/dev/null | \
20 sed '/diffpdf-v/!d;s|.*/diffpdf-v\([\.0-9]*\)\..*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
28 # ./configure $CONFIGURE_ARGS &&
29 lrelease diffpdf.pro &&
30 qmake DESTDIR=$DESTDIR &&
31 make
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $install/diffpdf $fs/usr/bin
39 }