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