wok view pinentry-gtk/receipt @ rev 17670

Add missing -ltinfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 17 09:42:47 2015 +0100 (2015-02-17)
parents f315dcaf1948
children ac006a7bf27c
line source
1 # SliTaz package receipt.
3 PACKAGE="pinentry-gtk"
4 VERSION="0.8.1"
5 CATEGORY="security"
6 SHORT_DESC="Allow GnuPG to read passphrases and PIN numbers in a secure manner (GTK+ GUI)."
7 # Bring the curses version as fallback if there's no X display.
8 SOURCE="pinentry"
9 MAINTAINER="pascal.bellard@slitaz.org"
10 LICENSE="GPL2"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.gnupg.org/"
13 WGET_URL="ftp://ftp.gnupg.org/gcrypt/pinentry/$TARBALL"
15 DEPENDS="gtk+ libcap pinentry"
16 BUILD_DEPENDS="gtk+-dev libcap-dev pinentry ncurses-dev"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
20 compile_rules()
21 {
22 export LDFLAGS="$LDFLAGS -ltinfo"
23 ./configure --enable-pinentry-gtk2 \
24 --enable-fallback-curses \
25 --disable-pinentry-curses \
26 --disable-pinentry-gtk \
27 --disable-pinentry-qt \
28 --disable-pinentry-qt4 \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/
37 cp -a $install/usr/bin $fs/usr
38 }