wok-6.x annotate dirmngr/receipt @ rev 25028
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 19 17:04:56 2022 +0000 (2022-05-19) |
parents | ac006a7bf27c |
children |
rev | line source |
---|---|
al@19226 | 1 # SliTaz package receipt. |
al@19226 | 2 |
al@19226 | 3 PACKAGE="dirmngr" |
al@19226 | 4 VERSION="1.1.1" |
al@19226 | 5 CATEGORY="security" |
al@19226 | 6 SHORT_DESC="DirMngr - X.509 directory manager" |
al@19226 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19226 | 8 LICENSE="GPL3" |
al@19226 | 9 WEB_SITE="https://www.gnupg.org/" |
al@19226 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19226 | 11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/dirmngr/$TARBALL" |
al@19226 | 12 |
al@19226 | 13 DEPENDS="libassuan libgcrypt libksba libldap pth zlib" |
al@19226 | 14 BUILD_DEPENDS="pth-dev libgpg-error-dev libgcrypt-dev libassuan-dev \ |
al@19226 | 15 libksba-dev openldap-dev" |
al@19226 | 16 |
pascal@24439 | 17 # What is the latest version available today? |
pascal@24439 | 18 current_version() |
pascal@24439 | 19 { |
pascal@24439 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24439 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24439 | 22 } |
pascal@24439 | 23 |
al@19226 | 24 # Rules to configure and make the package. |
al@19226 | 25 compile_rules() |
al@19226 | 26 { |
al@19226 | 27 # Integrity check: https://www.gnupg.org/download/integrity_check.html |
al@19226 | 28 echo "e708d4aa5ce852f4de3f4b58f4e4f221f5e5c690 $SRC/$TARBALL" | sha1sum -c || exit 1 |
al@19226 | 29 |
al@19226 | 30 ./configure $CONFIGURE_ARGS && make && make install |
al@19226 | 31 |
al@19226 | 32 find $install/usr/share/man -type f -exec gzip -9 \{\} \; |
al@19226 | 33 } |
al@19226 | 34 |
al@19226 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19226 | 36 genpkg_rules() |
al@19226 | 37 { |
al@19226 | 38 cp -a $install/* $fs |
al@19226 | 39 rm -r $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/locale |
al@19226 | 40 } |