mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
129 lines
3.6 KiB
Bash
129 lines
3.6 KiB
Bash
SUMMARY="The GNU project's free implementation of the OpenPGP standard"
|
|
DESCRIPTION="GnuPG is the GNU project's complete and free implementation of \
|
|
the OpenPGP standard as defined by RFC4880 . GnuPG allows to encrypt and sign \
|
|
your data and communication, features a versatile key management system as \
|
|
well as access modules for all kinds of public key directories. GnuPG, also \
|
|
known as GPG, is a command line tool with features for easy integration with \
|
|
other applications."
|
|
HOMEPAGE="https://gnupg.org/"
|
|
COPYRIGHT="1998-2017 Free Software Foundation, Inc.
|
|
2000, Dimitrios Souflis
|
|
2008, 2009, 2010, 2012-2016 William Ahern"
|
|
LICENSE="CC0 v1.0
|
|
GNU GPL v2
|
|
GNU GPL v3
|
|
GNU LGPL v2.1
|
|
GNU LGPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="401a3e64780fdfa6d7670de0880aa5c9d589b3db7a7098979d7606cec546f2ec"
|
|
PATCHES="gnupg-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
gnupg$secondaryArchSuffix = $portVersion
|
|
cmd:addgnupghome$secondaryArchSuffix
|
|
cmd:applygnupgdefaults$secondaryArchSuffix
|
|
cmd:convert_from_106$secondaryArchSuffix
|
|
cmd:dirmngr_client$secondaryArchSuffix
|
|
cmd:dirmngr$secondaryArchSuffix
|
|
cmd:gpg$secondaryArchSuffix
|
|
cmd:gpgconf$secondaryArchSuffix
|
|
cmd:gpgparsemail$secondaryArchSuffix
|
|
cmd:gpgscm$secondaryArchSuffix
|
|
cmd:gpgsm$secondaryArchSuffix
|
|
cmd:gpgtar$secondaryArchSuffix
|
|
cmd:gpgv$secondaryArchSuffix
|
|
cmd:gpg_agent$secondaryArchSuffix
|
|
cmd:gpg_check_pattern$secondaryArchSuffix
|
|
cmd:gpg_connect_agent$secondaryArchSuffix
|
|
cmd:gpg_wks_server$secondaryArchSuffix
|
|
cmd:gpg_zip$secondaryArchSuffix
|
|
cmd:kbxutil$secondaryArchSuffix
|
|
cmd:lspgpot$secondaryArchSuffix
|
|
cmd:mail_signed_keys$secondaryArchSuffix
|
|
cmd:make_dns_cert$secondaryArchSuffix
|
|
cmd:watchgnupg$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
cmd:pinentry$secondaryArchSuffix
|
|
lib:libassuan$secondaryArchSuffix
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libcurl$secondaryArchSuffix
|
|
lib:libgcrypt$secondaryArchSuffix
|
|
lib:libgnutls$secondaryArchSuffix
|
|
lib:libgpg_error$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libksba$secondaryArchSuffix
|
|
lib:liblber$secondaryArchSuffix
|
|
lib:libldap$secondaryArchSuffix
|
|
lib:libnpth$secondaryArchSuffix
|
|
lib:libreadline$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
lib:libusb_1.0$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libassuan$secondaryArchSuffix
|
|
devel:libbz2$secondaryArchSuffix
|
|
devel:libcurl$secondaryArchSuffix
|
|
devel:libgcrypt$secondaryArchSuffix
|
|
devel:libgnutls$secondaryArchSuffix
|
|
devel:libgpg_error$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
devel:libksba$secondaryArchSuffix
|
|
devel:libldap$secondaryArchSuffix
|
|
devel:libnpth$secondaryArchSuffix
|
|
devel:libreadline$secondaryArchSuffix
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
devel:libusb_1.0$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:grep
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:perl
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:pinentry$secondaryArchSuffix
|
|
cmd:shred
|
|
cmd:tar
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autogen.sh
|
|
runConfigure ./configure \
|
|
--libexecdir=$libDir/gnupg \
|
|
--enable-wks-tools \
|
|
--with-bzip2
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
# Extra tools, gentoo does the same
|
|
for f in convert-from-106 gpg-check-pattern gpg-zip lspgpot \
|
|
mail-signed-keys make-dns-cert; do
|
|
cp -r tools/$f $binDir/
|
|
done
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
#check still fails as before on: FAIL: t-session-env
|
|
make check
|
|
}
|