wok-next view pinentry-gtk/receipt @ rev 19952

s/ncursesw/ncurses/
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 16 13:38:21 2017 +0200 (2017-10-16)
parents 259c60302b06
children 76524bb0e096
line source
1 # SliTaz package receipt.
3 PACKAGE="pinentry-gtk"
4 VERSION="0.9.7"
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"
13 DEPENDS="gtk+ libassuan libcap libsecret libtinfo ncurses"
14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libsecret-dev ncurses-dev \
15 libcap-dev gtk+-dev libgcrypt-dev"
16 SIBLINGS="pinentry"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
20 compile_rules()
21 {
22 # Integrity check: https://www.gnupg.org/download/integrity_check.html
23 echo "9bdcf5f4096aa8b26956afb0ecdd3d7849ffa0cd $SRC/$TARBALL" | sha1sum -c || exit 1
25 export LDFLAGS="$LDFLAGS -ltinfo"
26 ./configure \
27 --enable-pinentry-gtk2 \
28 --enable-fallback-curses \
29 --disable-pinentry-curses \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/
38 cp -a $install/usr/bin $fs/usr
39 }