wok-current view diffpdf/receipt @ rev 24589
syslinux/iso2exe: fix possible data corruption
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 28 14:35:25 2022 +0000 (2022-02-28) |
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 }