62 lines
1.2 KiB
Bash
62 lines
1.2 KiB
Bash
SUMMARY="An embedded SSL implementation"
|
|
DESCRIPTION="A lightweight yet fully functional embedded SSL implementation."
|
|
HOMEPAGE="http://yassl.com"
|
|
COPYRIGHT="2006-2013 Sawtooth Consulting Ltd."
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://yassl.com/cyassl-2.8.0.zip"
|
|
CHECKSUM_SHA256="94dcac2dfa87b8474815241eee50f7192e7f315c8173ec209d2a3f752bba9a8d"
|
|
SOURCE_DIR="cyassl-$portVersion"
|
|
|
|
ARCHITECTURES="?all"
|
|
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
|
|
|
PROVIDES="
|
|
cyassl$secondaryArchSuffix = $portVersion
|
|
lib:libcyassl$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
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
|
|
}
|