DESCRIPTION="lightweight yet fully functional embedded SSL implementation" 
HOMEPAGE="http://yassl.com" 
SRC_URI="http://yassl.com/cyassl-2.0.2.zip"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="app-text/dos2unix >= 1.0"
CHECKSUM_MD5="2f51752207132c161155508eeb517e38"
BUILD()
{
	cd cyassl-2.0.2
	dos2unix *
	dos2unix include/*
	dos2unix ctaocrypt/include/*
	dos2unix ctaocrypt/src/*
	libtoolize --force --copy --install
	aclocal -I m4
	autoconf
	chmod 755 configure
	automake
	./configure --prefix=`finddir B_COMMON_DIRECTORY` --enable-shared
	make
}

INSTALL()
{
	cd cyassl-2.0.2
	make install
}

TEST()
{
	cd cyassl-2.0.2
	make check
	cd testsuite
	testsuite
}

LICENSE="GNU GPL v2"
COPYRIGHT="2006-2011 Sawtooth Consulting Ltd."
