wok-next view pinentry/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | 11815b9d73d3 |
children |
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/svn/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 gtk2-dev gtk3-dev gcr-dev \
19 fltk-dev"
20 SPLIT="$PACKAGE-gtk $PACKAGE-gnome3 $PACKAGE-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 *-gtk)
47 copy pinentry-gtk-2
48 DEPENDS="glib gtk2 libassuan libcap libgpg-error libsecret \
49 ncurses pinentry"
50 CAT="security|for GTK+ 2"
51 ;;
52 *-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 *-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 }