wok-current view gpgme/receipt @ rev 24591
updated genext2fs (1.4.1 -> 1.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 28 17:48:46 2022 +0100 (2022-02-28) |
parents | b0c94f3ac5fd |
children | dbbce7b691de |
line source
1 # SliTaz package receipt.
3 PACKAGE="gpgme"
4 VERSION="1.13.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 "f87f34e695e8d74ccc7c8f42864d50630afebb0e $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 mkdir -p $fs/usr/bin
42 mkdir -p $fs/usr/lib
44 cp -a $install/usr/bin/gpgme-tool $fs/usr/bin
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }