SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gpgme"

# SliTaz package receipt.

PACKAGE="gpgme"
VERSION="1.17.1"
CATEGORY="security"
SHORT_DESC="C language library that allows to add support for cryptography to a program."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2 LGPL2.1"
WEB_SITE="https://www.gnupg.org/related_software/gpgme/"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpgme/$TARBALL"

DEPENDS="gcc83-lib-base gnupg libassuan"
BUILD_DEPENDS="gcc83 gnupg libassuan-dev libgpg-error-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    # Integrity check: https://www.gnupg.org/download/integrity_check.html
    echo "73d5c863ba5478370b191e79b19733807fef529e  $SRC/$TARBALL" | sha1sum -c || exit 1

    ./configure        \
        CC=gcc-83    \
        CXX=g++-83    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    gpgme-tool
    cook_copy_files    *.so*
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)