SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pinentry"

# SliTaz package receipt.

PACKAGE="pinentry"
VERSION="1.1.0"
CATEGORY="security"
SHORT_DESC="Collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.gnupg.org/"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://www.gnupg.org/ftp/gcrypt/pinentry/$TARBALL"

DEPENDS="libassuan libcap libgio libsecret ncursesw"
BUILD_DEPENDS="libgpg-error-dev libassuan-dev libsecret-dev ncursesw-dev \
libcap-dev libgcrypt-dev"
SIBLINGS="pinentry-gtk"

# 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 gen a SliTaz package suitable for Tazpkg.

compile_rules()
{
    # Integrity check: https://www.gnupg.org/download/integrity_check.html
    echo "693bdf9f48dfb3e040d92f50b1bb464e268b9fb0  $SRC/$TARBALL" | sha1sum -c || exit 1

    ./configure --enable-pinentry-curses --build=i486-slitaz-linux-gnu &&
    make && make install
}

genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)