DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project" 
HOMEPAGE="http://www.gnu.org/software/gnutls/" 
SRC_URI="ftp://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.8.6.tar.bz2"
CHECKSUM_MD5="eb0a6d7d3cb9ac684d971c14f9f6d3ba"
REVISION="1"
STATUS_HAIKU="untested"
DEPEND="dev-libs/libgcrypt >= 1.4.5
		dev-libs/libgpg-error >= 1.7"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2009-2010 Free Software Fundation Inc.
		2004-2008 Simon Josefsson
		2000-2004 Nikos Mavrogiannopoulos"
BUILD()
{
	cd gnutls-2.8.6
	libtoolize --force --copy --install
	autoreconf
       cd lib
	libtoolize --force --copy --install
	autoreconf
	cd ..
	cd libextra
	libtoolize --force --copy --install
	autoreconf
	cd ..
	./configure --prefix=`finddir B_COMMON_DIRECTORY`
	make
}
INSTALL()
{
	cd gnutls-2.8.6
	make install
}
