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