wok-current view pinentry-gtk/receipt @ rev 24470

updated dbus, dbus-dev and dbus-helper (1.12.18 -> 1.12.20)
author Hans-G?nter Theisgen
date Thu Feb 17 14:54:20 2022 +0100 (2022-02-17)
parents 6655176c9e79
children 3ad63c8fc2f9
line source
1 # SliTaz package receipt.
3 PACKAGE="pinentry-gtk"
4 VERSION="1.1.0"
5 CATEGORY="security"
6 SHORT_DESC="Allow GnuPG to read passphrases and PIN numbers in a secure manner (GTK+ GUI)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnupg.org/"
10 TARBALL="pinentry-$VERSION.tar.bz2"
11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/pinentry/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="gtk+ libassuan libcap libsecret libtinfo ncursesw"
15 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libsecret-dev ncursesw-dev \
16 libcap-dev gtk+-dev libgcrypt-dev"
17 SIBLINGS="pinentry"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/pinentry-[0-9]/!d;/tar/!d;s|.*pinentry-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
28 compile_rules()
29 {
30 # Integrity check: https://www.gnupg.org/download/integrity_check.html
31 echo "693bdf9f48dfb3e040d92f50b1bb464e268b9fb0 $SRC/$TARBALL" | sha1sum -c || exit 1
33 export LDFLAGS="$LDFLAGS -ltinfo"
34 ./configure \
35 --enable-pinentry-gtk2 \
36 --enable-fallback-curses \
37 --disable-pinentry-curses \
38 --build=i486-slitaz-linux-gnu \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/
47 cp -a $install/usr/bin $fs/usr
48 }