SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pinentry"

# SliTaz package receipt.

PACKAGE="pinentry"
VERSION="1.2.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 "e37fb307f3842c1bb56ab94b4862b64beb38c629  $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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)