# Copyright 2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ IUSE="" DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project" HOMEPAGE="http://www.gnutls.org/" SRC_URI="ftp://ftp.gnutls.org/pub/gnutls/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86" DEPEND=">=dev-libs/libgcrypt-1.1.12 >=dev-libs/opencdk-0.4.0 zlib? ( >=sys-libs/zlib-1.1 )" S="${WORKDIR}/${P}" src_compile() { ./configure --prefix=/usr \ `use_with zlib` \ || die emake || die } src_install() { einstall dodoc AUTHORS COPYING COPYING.LIB ChangeLog NEWS \ README THANKS doc/TODO if [ "`use doc`" ] ; then dodoc doc/README.autoconf doc/tex/gnutls.ps docinto examples dodoc doc/examples/*.c ; fi }