]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gnupg/gnupg2.inc
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gnupg / gnupg2.inc
1 SECTION = "console/utils"
2 DESCRIPTION = "gnupg - GNU privacy guard - development version"
3 HOMEPAGE = "http://www.gnupg.org/"
4 LICENSE = "GPLv2"
5 MAINTAINER = "Pawel Osiczko <p.osiczko@tetrapyloctomy.org>"
6 # DEPENDS = "zlib libgpg-error libgcrypt libassuan ksba opensc"
7 DEPENDS = "zlib libgpg-error libgcrypt libassuan"
8
9 inherit autotools gettext
10
11 SRC_URI = "ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-${PV}.tar.bz2"
12 S = "${WORKDIR}/gnupg-${PV}"
13 libexecdir := "${libexecdir}/gnupg2"
14 FILES_${PN} += "${datadir}/gnupg"
15
16 # NOTE: gpgsm and scdaemon binaries aren't buildable if you dont have libksba. -CL
17 # --with-ksba-prefix=${STAGING_LIBDIR}/..
18
19 # NOTE: opensc is needed by the scdaemon binary.  if you don't have opensc, it can
20 # only build a limited scdaemon. -CL
21 # --with-opensc-prefix=${STAGING_LIBDIR}/..
22
23 # NOTE: given those facts, the current build will disable scdaemon and gpgsm.
24 # Threads are disabled currently to avoid the pth dependency. -CL
25
26 EXTRA_OECONF = "--disable-ldap \
27                 --with-zlib=${STAGING_LIBDIR}/.. \
28                 --with-gpg-error-prefix=${STAGING_BINDIR}/.. \
29                 --with-libgcrypt-prefix=${STAGING_BINDIR}/.. \
30                 --with-libassuan-prefix=${STAGING_BINDIR}/.. \
31                 --with-pth-prefix=${STAGING_BINDIR}/.. \
32                 --with-opensc-prefix=${STAGING_BINDIR}/.. \
33                 --with-ksba-prefix=${STAGING_BINDIR}/.. \
34                 --disable-threads \
35                 --disable-gpgsm \
36                 --disable-scdaemon"
37
38 # Bypass the tests
39 EXTRA_OEMAKE += "'TESTS_ENVIRONMENT=/bin/true'"
40
41 #   --disable-gpg           do not build the gpg program
42 #   --disable-gpgsm         do not build the gpgsm program
43 #   --disable-agent         do not build the agent program
44 #   --disable-scdaemon      do not build the scdaemon program
45 #   --enable-agent-only     build only the gpg-agent
46 #   --disable-exec          disable all external program execution
47 #   --disable-photo-viewers disable photo ID viewers
48 #   --disable-keyserver-helpers  disable all external keyserver support
49 #   --disable-ldap          disable LDAP keyserver interface
50 #   --disable-hkp           disable HKP keyserver interface
51 #   --disable-mailto        disable email keyserver interface
52 #   --disable-keyserver-path disable the exec-path option for keyserver helpers
53 #   --disable-largefile     omit support for large files
54 #   --disable-threads       allow building without Pth support
55 #   --disable-dns-srv       disable the use of DNS SRV in HKP
56 #   --disable-nls           do not use Native Language Support
57 #   --disable-rpath         do not hardcode runtime library paths
58 #   --disable-regex         do not handle regular expressions in trust sigs
59 #   --with-agent-pgm=PATH  Use PATH as the default for the agent)
60 #   --with-pinentry-pgm=PATH  Use PATH as the default for the pinentry)
61 #   --with-scdaemon-pgm=PATH  Use PATH as the default for the scdaemon)
62 #   --with-dirmngr-pgm=PATH  Use PATH as the default for the dirmngr)
63 #   --with-protect-tool-pgm=PATH  Use PATH as the default for the protect-tool)
64 #   --with-photo-viewer=FIXED_VIEWER  set a fixed photo ID viewer
65 #   --with-capabilities     use linux capabilities default=no
66 #   --with-gpg-error-prefix=PFX
67 #                           prefix where GPG Error is installed (optional)
68 #   --with-libgcrypt-prefix=PFX
69 #                           prefix where LIBGCRYPT is installed (optional)
70 #   --with-libassuan-prefix=PFX
71 #                           prefix where LIBASSUAN is installed (optional)
72 #   --with-ksba-prefix=PFX  prefix where KSBA is installed (optional)
73 #   --with-opensc-prefix=PFX
74 #                           prefix where OpenSC is installed (optional)
75 #   --with-pth-prefix=PFX   prefix where GNU Pth is installed (optional)
76 #   --with-mailprog=NAME    use "NAME -t" for mail transport
77 #   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
78 #   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
79 #   --with-included-gettext use the GNU gettext library included here
80 #   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
81 #   --without-libintl-prefix     don't search for libintl in includedir and libdir
82 #   --with-included-regex   use the included GNU regex library
83 #   --with-zlib=DIR         use libz in DIR
84 #   --with-pkits-tests      run the PKITS based tests