wok annotate diffpdf/receipt @ rev 24991

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