SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pinentry-gtk"

# SliTaz package receipt.

PACKAGE="pinentry-gtk"
VERSION="1.2.0"
CATEGORY="security"
SHORT_DESC="Allow GnuPG to read passphrases and PIN numbers in a secure manner (GTK+ GUI)."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.gnupg.org/"
TARBALL="pinentry-$VERSION.tar.bz2"
WGET_URL="https://www.gnupg.org/ftp/gcrypt/pinentry/$TARBALL"
HOST_ARCH="i486 arm"

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

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed "/latest/d;/pinentry-[0-9]/!d;/tar/!d;s|.*pinentry-\\(.*\\).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

    export LDFLAGS="$LDFLAGS -ltinfo"
    ./configure \
        --enable-pinentry-gtk2 \
        --enable-fallback-curses \
        --disable-pinentry-curses \
        --build=i486-slitaz-linux-gnu \
        $CONFIGURE_ARGS &&
    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)