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