1 SECTION = "console/utils"
2 DESCRIPTION = "gnupg - GNU privacy guard"
3 HOMEPAGE = "http://www.gnupg.org/"
7 inherit autotools gettext
10 ftp://ftp.gnupg.org/gcrypt http://mirrors.rootmode.com/ftp.gnupg.org
12 SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${PV}.tar.bz2;name=src"
13 S = "${WORKDIR}/gnupg-${PV}"
15 # --with-egd-socket=NAME use NAME for the EGD socket
16 # --with-photo-viewer=FIXED_VIEWER set a fixed photo ID viewer
17 # --with-included-zlib use the zlib code included here
18 # --with-capabilities use linux capabilities default=no
19 # --with-mailprog=NAME use "NAME -t" for mail transport
20 # --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
21 # --without-libiconv-prefix don't search for libiconv in includedir and libdir
22 # --with-included-gettext use the GNU gettext library included here
23 # --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
24 # --without-libintl-prefix don't search for libintl in includedir and libdir
25 # --with-included-regex use the included GNU regex library
26 # --with-zlib=DIR use libz in DIR
27 # --with-bzip2=DIR look for bzip2 in DIR
28 # --enable-static-rnd=egd|unix|linux|auto
29 # --disable-dev-random disable the use of dev random
30 # --disable-asm do not use assembler modules
31 # --enable-m-guard enable memory guard facility
32 # --enable-selinux-support
33 # enable SELinux support
34 # --disable-card-support disable OpenPGP card support
35 # --disable-gnupg-iconv disable the new iconv code
36 # --enable-backsigs enable the experimental backsigs code
37 # --enable-minimal build the smallest gpg binary possible
38 # --disable-rsa disable the RSA public key algorithm
39 # --disable-idea disable the IDEA cipher
40 # --disable-cast5 disable the CAST5 cipher
41 # --disable-blowfish disable the BLOWFISH cipher
42 # --disable-aes disable the AES, AES192, and AES256 ciphers
43 # --disable-twofish disable the TWOFISH cipher
44 # --disable-sha256 disable the SHA-256 digest
45 # --disable-sha512 disable the SHA-384 and SHA-512 digests
46 # --disable-bzip2 disable the BZIP2 compression algorithm
47 # --disable-exec disable all external program execution
48 # --disable-photo-viewers disable photo ID viewers
49 # --disable-keyserver-helpers disable all external keyserver support
50 # --disable-ldap disable LDAP keyserver interface
51 # --disable-hkp disable HKP keyserver interface
52 # --disable-http disable HTTP key fetching interface
53 # --disable-finger disable Finger key fetching interface
54 # --disable-mailto disable email keyserver interface
55 # --disable-keyserver-path disable the exec-path option for keyserver helpers
56 # --enable-key-cache=SIZE Set key cache to SIZE (default 4096)
57 # --disable-largefile omit support for large files
58 # --disable-dns-srv disable the use of DNS SRV in HKP and HTTP
59 # --disable-nls do not use Native Language Support
60 # --disable-regex do not handle regular expressions in trust sigs
62 EXTRA_OECONF = "--disable-ldap \
63 --with-zlib=${STAGING_LIBDIR}/.. \
64 --with-bzip2=${STAGING_LIBDIR}/.. \
65 --disable-selinux-support"
69 install -d ${D}${docdir}/${PN}
70 mv ${D}${datadir}/${PN}/* ${D}/${docdir}/${PN}/ || :
71 mv ${D}${prefix}/doc/* ${D}/${docdir}/${PN}/ || :
74 # split out gpgv from main package
75 RDEPENDS_gnupg = "gpgv"
77 FILES_gpgv = "${bindir}/gpgv"
79 # Exclude debug files from the main packages
80 FILES_${PN} = "${bindir}/* ${datadir}/${PN} ${libexecdir}/${PN}/*"
81 FILES_${PN}-dbg += "${libexecdir}/${PN}/.debug"