wok-current view pinentry-gtk/receipt @ rev 18341

Up: mercurial (3.5.1)
author Alexander Medvedev <devl547@gmail.com>
date Thu Sep 10 22:25:19 2015 +0000 (2015-09-10)
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 }