wok-next annotate pinentry/receipt @ rev 21681

updated giflib (5.1.4 -> 5.2.1)
author Hans-G?nter Theisgen
date Mon Jun 29 15:09:16 2020 +0100 (2020-06-29)
parents 11815b9d73d3
children
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@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21017 18 libsecret-dev libgcrypt-dev shared-mime-info gtk2-dev gtk3-dev gcr-dev \
al@20794 19 fltk-dev"
al@21017 20 SPLIT="$PACKAGE-gtk $PACKAGE-gnome3 $PACKAGE-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@21017 46 *-gtk)
al@20794 47 copy pinentry-gtk-2
al@21017 48 DEPENDS="glib gtk2 libassuan libcap libgpg-error libsecret \
al@20794 49 ncurses pinentry"
al@20794 50 CAT="security|for GTK+ 2"
al@20794 51 ;;
al@21017 52 *-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@21017 58 *-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 }