mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
94 lines
2.7 KiB
Bash
94 lines
2.7 KiB
Bash
SUMMARY="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
|
|
DESCRIPTION="GnuTLS is a secure communications library implementing the SSL, \
|
|
TLS and DTLS protocols and technologies around them. It provides a simple C \
|
|
language application programming interface (API) to access the secure \
|
|
communications protocols as well as APIs to parse and write X.509, PKCS #12, \
|
|
OpenPGP and other required structures. It is aimed to be portable and \
|
|
efficient with focus on security and interoperability."
|
|
HOMEPAGE="http://www.gnutls.org/"
|
|
SOURCE_URI="ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/gnutls-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="feb559ed7fffa24d5aa40527054fae5cb7f7b66e9f2bebc2383a781dfa4d20ec"
|
|
LICENSE="GNU LGPL v2.1"
|
|
COPYRIGHT="
|
|
2009-2010 Free Software Fundation Inc.
|
|
2004-2008 Simon Josefsson
|
|
2000-2004 Nikos Mavrogiannopoulos
|
|
"
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
gnutls$secondaryArchSuffix = $portVersion
|
|
cmd:certtool$secondaryArchSuffix
|
|
cmd:gnutls_cli$secondaryArchSuffix
|
|
cmd:gnutls_cli_debug$secondaryArchSuffix
|
|
cmd:gnutls_serv$secondaryArchSuffix
|
|
cmd:psktool$secondaryArchSuffix
|
|
cmd:ocsptool$secondaryArchSuffix
|
|
cmd:srptool$secondaryArchSuffix
|
|
cmd:systemkey$secondaryArchSuffix
|
|
lib:libgnutls_openssl$secondaryArchSuffix = 27.0.2 compat = 27
|
|
lib:libgnutls$secondaryArchSuffix = 30.4.0 compat = 30
|
|
lib:libgnutlsxx$secondaryArchSuffix = 28.1.0 compat = 28
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgcrypt$secondaryArchSuffix
|
|
lib:libgpg_error$secondaryArchSuffix
|
|
lib:libnettle$secondaryArchSuffix
|
|
lib:libgmp$secondaryArchSuffix
|
|
lib:libtasn1$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
gnutls_devel$secondaryArchSuffix = $portVersion
|
|
devel:libgnutls_openssl$secondaryArchSuffix = 27.0.2 compat = 27
|
|
devel:libgnutls$secondaryArchSuffix = 30.4.0 compat = 30
|
|
devel:libgnutlsxx$secondaryArchSuffix = 28.1.0 compat = 28
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
gnutls$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgcrypt$secondaryArchSuffix
|
|
devel:libgpg_error$secondaryArchSuffix
|
|
devel:libnettle$secondaryArchSuffix
|
|
devel:libgmp$secondaryArchSuffix
|
|
devel:libtasn1$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure --without-p11-kit --disable-doc --disable-nls \
|
|
--enable-openssl-compatibility
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libgnutls-openssl libgnutls libgnutlsxx
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|