Contents of /trunk/extras/pinentry/pinentry-0.8.1-r1.smage2
Parent Directory | Revision Log
Revision 7505 -
(show annotations)
(download)
Mon Mar 28 18:26:48 2011 UTC (13 years, 1 month ago) by niro
File size: 1312 byte(s)
Mon Mar 28 18:26:48 2011 UTC (13 years, 1 month ago) by niro
File size: 1312 byte(s)
auto added: ver bump to 0.8.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="pinentry" |
4 | PVER="0.8.1" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="app-crypt" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="A collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol." |
11 | HOMEPAGE="http://www.gnupg.org/" |
12 | |
13 | DEPEND=">= sys-libs/ncurses-5.7 |
14 | >= sys-libs/libcap-2.17" |
15 | |
16 | SDEPEND=">= x11-libs/qt-3.3.8 |
17 | >= x11-libs/qt4-4.6 |
18 | >= x11-libs/gtk2+-2.18" |
19 | |
20 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
22 | |
23 | sminclude mbuild mtools |
24 | |
25 | SRC_URI=( |
26 | #ftp://ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE} |
27 | ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE} |
28 | mirror://${PNAME}/${SRCFILE} |
29 | ) |
30 | |
31 | #UP2DATE="updatecmd ftp://ftp.gnupg.org/gcrypt/${PNAME}/ | lasttarball gz" |
32 | UP2DATE="updatecmd ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/ | lasttarball gz" |
33 | |
34 | src_compile() |
35 | { |
36 | cd ${SRCDIR} |
37 | |
38 | mconfigure \ |
39 | --libexecdir=/usr/$(mlibdir)/${PNAME} \ |
40 | --enable-pinentry-gtk2 \ |
41 | --enable-pinentry-qt \ |
42 | --enable-pinentry-qt4 \ |
43 | --enable-fallback-curses \ |
44 | || die |
45 | |
46 | mmake || die |
47 | } |
48 | |
49 | src_install() |
50 | { |
51 | cd ${SRCDIR} |
52 | mmake DESTDIR=${BINDIR} install || die |
53 | |
54 | # default is the gkt2 backend |
55 | rm ${BINDIR}/usr/bin/pinentry || die |
56 | mlink pinentry-gtk-2 /usr/bin/pinentry || die |
57 | |
58 | minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README* TODO VERSION || die |
59 | } |