mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-13 07:10:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
79 lines
1.8 KiB
Bash
79 lines
1.8 KiB
Bash
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="2"
|
|
SOURCE_URI="https://downloads.sourceforge.net/beecrypt/beecrypt-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
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
|
|
}
|