# Template build file for 'gnutls'.
pkgname=gnutls
version=2.12.7
distfiles="ftp://ftp.gnutls.org/pub/gnutls/gnutls-$version.tar.bz2"
build_style=gnu_configure
configure_args="--with-lzo --with-zlib --disable-guile --with-libgcrypt"
short_desc="GNU Transport Layer Security library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/gnutls/"
license="GPL-3, LGPL-2.1"
checksum=77d84fe63a249dcdace421fb9e162cfde9a3f2c7be29007799fcfa2856a87527
long_desc="
 GnuTLS is a portable ANSI C based library which implements the TLS 1.0 and
 SSL 3.0 protocols. The library does not include any patented algorithms and
 is available under the GNU Lesser GPL license.

 Important features of the GnuTLS library include:
  - Thread safety
  - Support for both TLS 1.0 and SSL 3.0 protocols
  - Support for both X.509 and OpenPGP certificates
  - Support for basic parsing and verification of certificates
  - Support for SRP for TLS authentication
  - Support for TLS Extension mechanism
  - Support for TLS Compression Methods

 Additionally GnuTLS provides an emulation API for the widely used OpenSSL
 library, to ease integration with existing applications."

subpackages="$pkgname-devel $pkgname-tools"
Add_dependency run glibc
Add_dependency run libgcc
Add_dependency run libstdc++
Add_dependency run libgpg-error
Add_dependency run zlib
Add_dependency run libtasn1
Add_dependency run libgcrypt
Add_dependency run lzo

Add_dependency build gettext
Add_dependency build texinfo
Add_dependency build libgpg-error-devel
Add_dependency build libstdc++-devel
Add_dependency build zlib-devel
Add_dependency build readline-devel
Add_dependency build libtasn1-devel
Add_dependency build libgcrypt-devel
Add_dependency build lzo-devel
