mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
beecrypt: added recipe (GCI 2016) (#994)
This commit is contained in:
78
dev-libs/beecrypt/beecrypt-4.2.1.recipe
Normal file
78
dev-libs/beecrypt/beecrypt-4.2.1.recipe
Normal file
@@ -0,0 +1,78 @@
|
||||
SUMMARY="A strong and fast cryptography toolkit"
|
||||
DESCRIPTION="BeeCrypt is an ongoing project to provide a strong and fast \
|
||||
cryptography toolkit. It includes entropy sources, random generators, block \
|
||||
ciphers, hash functions, message authentication codes, multiprecision integer \
|
||||
routines, and public key primitives."
|
||||
HOMEPAGE="http://beecrypt.sourceforge.net/"
|
||||
COPYRIGHT="2009 Bob Deblier"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/beecrypt/beecrypt-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
beecrypt$secondaryArchSuffix = $portVersion
|
||||
lib:libbeecrypt$secondaryArchSuffix = 7.0.0 compat >= 7
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgomp$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
beecrypt${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libbeecrypt$secondaryArchSuffix = 7.0.0 compat >= 7
|
||||
"
|
||||
REQUIRES_devel="
|
||||
beecrypt$secondaryArchSuffix == $portVersion base
|
||||
devel:libgomp$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:autoheader
|
||||
cmd:automake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
automake --add-missing
|
||||
runConfigure ./configure --disable-threads --with-java=no --with-python=no
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
install -d $docDir
|
||||
install -t $docDir BENCHMARKS BUGS CONTRIBUTORS NEWS README
|
||||
rm $libDir/libbeecrypt.la
|
||||
|
||||
prepareInstalledDevelLib libbeecrypt
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$docDir/BENCHMARKS \
|
||||
$docDir/BUGS \
|
||||
$docDir/NEWS \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user