cyassl: Add updated recipe for 2.8.0

Not working yet (redefines _POSIX_THREADS + Werror).
This commit is contained in:
François Revol
2013-12-19 12:51:30 +01:00
parent 64797684df
commit d7fdcb0292

View File

@@ -0,0 +1,62 @@
SUMMARY="CyaSSL embedded SSL implementation"
DESCRIPTION="lightweight yet fully functional embedded SSL implementation"
HOMEPAGE="http://yassl.com"
SRC_URI="http://yassl.com/cyassl-2.8.0.zip"
REVISION="1"
CHECKSUM_MD5="7465d4815af90eff01095fa1b031ce09"
LICENSE="GNU GPL v2"
COPYRIGHT="2006-2013 Sawtooth Consulting Ltd."
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
PROVIDES="
cyassl$secondaryArchSuffix = $portVersion
lib:libcyassl$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:libtoolize
cmd:aclocal
cmd:autoconf
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:dos2unix
"
DEPEND="app-text/dos2unix >= 1.0"
BUILD()
{
dos2unix *
dos2unix include/*
dos2unix ctaocrypt/include/*
dos2unix ctaocrypt/src/*
libtoolize --force --copy --install
aclocal -I m4
autoconf
chmod 755 configure
automake
runConfigure ./configure --enable-shared
make
}
INSTALL()
{
make install
}
TEST()
{
make check
cd testsuite
testsuite
}