wok-next view pinentry/receipt @ rev 20957

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 15:26:05 2018 +0300 (2018-09-05)
parents 96d29914cbad
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pinentry"
4 VERSION="1.1.0"
5 CATEGORY="security"
6 SHORT_DESC="Allow GnuPG to read passphrases and PIN numbers in a secure manner"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnupg.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/pinentry.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://www.gnupg.org/ftp/gcrypt/pinentry/$TARBALL"
14 # https://www.gnupg.org/download/integrity_check.html
15 TARBALL_SHA1="693bdf9f48dfb3e040d92f50b1bb464e268b9fb0"
17 BUILD_DEPENDS="libassuan-dev libgpg-error-dev ncurses-dev libcap-dev \
18 libsecret-dev libgcrypt-dev shared-mime-info gtk+-dev gtk+3-dev gcr-dev \
19 fltk-dev"
20 SPLIT="pinentry-gtk pinentry-gnome3 pinentry-fltk"
22 compile_rules() {
23 ./configure \
24 --enable-pinentry-curses \
25 --enable-fallback-curses \
26 --enable-pinentry-tty \
27 --enable-pinentry-gtk2 \
28 --enable-pinentry-gnome3 \
29 --disable-pinentry-qt \
30 --enable-pinentry-fltk \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install || return 1
35 # make default pinentry the pinentry-curses
36 ln -sf pinentry-curses $install/usr/bin/pinentry
37 }
39 genpkg_rules() {
40 case $PACKAGE in
41 pinentry)
42 copy pinentry-tty pinentry-curses pinentry
43 DEPENDS="glib libassuan libcap libgpg-error libsecret ncurses"
44 CAT="security|for console"
45 ;;
46 pinentry-gtk)
47 copy pinentry-gtk-2
48 DEPENDS="glib gtk+ libassuan libcap libgpg-error libsecret \
49 ncurses pinentry"
50 CAT="security|for GTK+ 2"
51 ;;
52 pinentry-gnome3)
53 copy pinentry-gnome3
54 DEPENDS="gcr-base glib libassuan libcap libgpg-error libsecret \
55 ncurses pinentry"
56 CAT="security|for GNOME 3"
57 ;;
58 pinentry-fltk)
59 copy pinentry-fltk
60 DEPENDS="fltk glib libassuan libcap libgpg-error libsecret \
61 ncurses pinentry"
62 CAT="security|for FLTK"
63 ;;
64 esac
65 }