wok rev 22645

created recipe for diffpdf
author Hans-G?nter Theisgen
date Tue Jan 14 09:39:10 2020 +0100 (2020-01-14)
parents 3bc72486e396
children 5520f22a2647
files diffpdf/description.txt diffpdf/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/diffpdf/description.txt	Tue Jan 14 09:39:10 2020 +0100
     1.3 @@ -0,0 +1,9 @@
     1.4 +diffpdf is used to compare two PDF files.
     1.5 +
     1.6 +By default the comparison is of the words on each pair of pages,
     1.7 +but comparing character by character is also supported (e.g., for
     1.8 +logographic languages).
     1.9 +And there's also support for comparing the pages by appearance
    1.10 +(for example, if a diagram is changed or if a paragraph is
    1.11 +reformatted, or a font changed).
    1.12 +It is also possible to compare particular pages or page ranges.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/diffpdf/receipt	Tue Jan 14 09:39:10 2020 +0100
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="diffpdf"
     2.7 +VERSION="2.1.3"
     2.8 +CATEGORY="utilities"
     2.9 +SHORT_DESC="PDF files comparator."
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="https://gitlab.com/eang/diffpdf"
    2.13 +
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 +WGET_URL="http://www.qtrac.eu/$TARBALL"
    2.16 +
    2.17 +DEPENDS="poppler-qt4" 
    2.18 +BUILD_DEPENDS="poppler-qt4-dev qmake Qt4-dev"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +#	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    2.24 +
    2.25 +#	./configure $CONFIGURE_ARGS && 
    2.26 +	lrelease diffpdf.pro &&
    2.27 +	qmake DESTDIR=$DESTDIR &&
    2.28 +	make
    2.29 +}
    2.30 +
    2.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.32 +genpkg_rules()
    2.33 +{
    2.34 +	mkdir -p $fs/usr/bin
    2.35 +	cp -a $install/diffpdf	$fs/usr/bin
    2.36 +}