Files
haikuports/dev-libs/polarssl/polarssl-1.3.9.recipe
dash102 1b9b981584 Reformat 10 Recipes 2
Update enca-1.15.recipe

Update libpaper-1.1.24.recipe

Update libedit-2014_10_30_3.1.recipe

Update faad2-2.7.recipe

Update libebur128-1.0.1.recipe

Update pnglite-0.1.17.recipe

Update libircclient-1.8.recipe

Update glu-9.0.0.recipe

Update polarssl-1.3.9.recipe

Update libpaper-1.1.24.recipe

Update libedit-2014_10_30_3.1.recipe

Update faad2-2.7.recipe

Update libebur128-1.0.1.recipe

Update libebur128-1.0.1.recipe

Update libsdl2-2.0.1.recipe

Update libircclient-1.8.recipe

Update libpaper-1.1.24.recipe
2015-12-28 12:36:51 +00:00

78 lines
1.9 KiB
Bash

SUMMARY="An easy to understand, use, integrate, and expand SSL library"
DESCRIPTION="PolarSSL is a official continuation fork of the XySSL SSL library. \
XySSL was created by the french white hat hacker Christophe Devine \
and was first released on November 1, 2006 under the GPL and BSD \
licenses. The core SSL library is written in C without external \
dependencies."
HOMEPAGE="https://www.polarssl.org"
COPYRIGHT="2008-2014 Offspark B.V."
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://polarssl.org/download/polarssl-${portVersion}-gpl.tgz"
CHECKSUM_SHA256="d3605afc28ed4b7d1d9e3142d72e42855e4a23c07c951bbb0299556b02d36755"
PATCHES="polarssl-$portVersion.patchset"
ARCHITECTURES="?x86_gcc2 x86 x86_64 arm"
SECONDARY_ARCHITECTURES="?x86_gcc2 x86"
PROVIDES="
polarssl$secondaryArchSuffix = $portVersion compat >= 1
lib:libpolarssl$secondaryArchSuffix = 7.3.9 compat >= 7
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix >= 1.2.3
"
PROVIDES_devel="
polarssl${secondaryArchSuffix}_devel = $portVersion
devel:libpolarssl${secondaryArchSuffix} = 7.3.9 compat >= 7
"
REQUIRES_devel="
polarssl${secondaryArchSuffix} == $portVersion base
"
BUILD_REQUIRES="
devel:libz$secondaryArchSuffix >= 1.2.3
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc${secondaryArchSuffix}
cmd:ld${secondaryArchSuffix}
cmd:cmake
cmd:make
cmd:perl >= 5
cmd:sed
"
BUILD()
{
# enable static and shared PolarSSL libraries
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix -DENABLE_PROGRAMS=0 \
-DUSE_SHARED_POLARSSL_LIBRARY=1 -DUSE_STATIC_POLARSSL_LIBRARY=1 .
make ${jobArgs}
}
INSTALL()
{
make install
# move include dir to correct location
mkdir -p $(dirname $includeDir)
mv $prefix/include $includeDir
# prepare develop/lib
prepareInstalledDevelLibs libpolarssl
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}
TEST()
{
make test
}