wok-current view gpgme/receipt @ rev 25376

updated tzdata (2019c -> 2022a)
author Hans-G?nter Theisgen
date Sat Jul 30 10:43:02 2022 +0100 (2022-07-30)
parents af8d823a3077
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gpgme"
4 VERSION="1.17.1"
5 CATEGORY="security"
6 SHORT_DESC="C language library that allows to add support for cryptography to a program."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://www.gnupg.org/related_software/gpgme/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpgme/$TARBALL"
14 DEPENDS="gcc83-lib-base gnupg libassuan"
15 BUILD_DEPENDS="gcc83 gnupg libassuan-dev libgpg-error-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 "73d5c863ba5478370b191e79b19733807fef529e $SRC/$TARBALL" | sha1sum -c || exit 1
30 ./configure \
31 CC=gcc-83 \
32 CXX=g++-83 \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_files gpgme-tool
42 cook_copy_files *.so*
43 }