wok annotate gpgme/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | af8d823a3077 |
children |
rev | line source |
---|---|
erjo@1420 | 1 # SliTaz package receipt. |
erjo@1420 | 2 |
erjo@1420 | 3 PACKAGE="gpgme" |
Hans-G?nter@24616 | 4 VERSION="1.17.1" |
erjo@1420 | 5 CATEGORY="security" |
erjo@1420 | 6 SHORT_DESC="C language library that allows to add support for cryptography to a program." |
erjo@1420 | 7 MAINTAINER="erjo@slitaz.org" |
al@19226 | 8 LICENSE="GPL2 LGPL2.1" |
al@19226 | 9 WEB_SITE="https://www.gnupg.org/related_software/gpgme/" |
Hans-G?nter@22874 | 10 |
erjo@1420 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19226 | 12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpgme/$TARBALL" |
erjo@1420 | 13 |
Hans-G?nter@22874 | 14 DEPENDS="gcc83-lib-base gnupg libassuan" |
Hans-G?nter@22874 | 15 BUILD_DEPENDS="gcc83 gnupg libassuan-dev libgpg-error-dev" |
erjo@9943 | 16 |
pascal@24445 | 17 # What is the latest version available today? |
pascal@24445 | 18 current_version() |
pascal@24445 | 19 { |
pascal@24445 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24445 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24445 | 22 } |
pascal@24445 | 23 |
erjo@1420 | 24 # Rules to configure and make the package. |
erjo@1420 | 25 compile_rules() |
erjo@1420 | 26 { |
al@19226 | 27 # Integrity check: https://www.gnupg.org/download/integrity_check.html |
Hans-G?nter@24616 | 28 echo "73d5c863ba5478370b191e79b19733807fef529e $SRC/$TARBALL" | sha1sum -c || exit 1 |
al@19226 | 29 |
Hans-G?nter@22874 | 30 ./configure \ |
Hans-G?nter@22874 | 31 CC=gcc-83 \ |
Hans-G?nter@22874 | 32 CXX=g++-83 \ |
Hans-G?nter@22874 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@22874 | 34 make && |
Hans-G?nter@22874 | 35 make install |
erjo@1420 | 36 } |
erjo@1420 | 37 |
erjo@1420 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1420 | 39 genpkg_rules() |
erjo@1420 | 40 { |
Hans-G?nter@24616 | 41 cook_copy_files gpgme-tool |
Hans-G?nter@24616 | 42 cook_copy_files *.so* |
erjo@1420 | 43 } |