wok-current view diffpdf/receipt @ rev 25490
Up foomatic-db-nonfree (20221115)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 17 11:49:10 2022 +0000 (2022-11-17) |
parents | 95f66fb4280e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="diffpdf"
4 HASH="b08ffc8a88426a1db4ff1d972011797732d149bc"
5 VERSION="2.1.3"
6 CATEGORY="utilities"
7 SHORT_DESC="PDF files comparator."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://gitlab.com/eang/diffpdf"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/-/archive/$HASH/diffpdf-$HASH.tar.gz"
15 DEPENDS="poppler-qt4"
16 BUILD_DEPENDS="poppler-qt4-dev qmake Qt4-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/-/tags 2>/dev/null | \
22 sed '/diffpdf-v/!d;s|.*/diffpdf-v\([\.0-9]*\)\..*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
30 # ./configure $CONFIGURE_ARGS &&
31 lrelease diffpdf.pro &&
32 qmake DESTDIR=$DESTDIR &&
33 make
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin
40 cp -a $install/diffpdf $fs/usr/bin
41 }