mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
libsodium: bump version and remove SECONDARY_ARCH (#1214)
This commit is contained in:
69
dev-libs/libsodium/libsodium-1.0.12.recipe
Normal file
69
dev-libs/libsodium/libsodium-1.0.12.recipe
Normal file
@@ -0,0 +1,69 @@
|
||||
SUMMARY="A modern, easy-to-use software library for cryptographic standards"
|
||||
DESCRIPTION="Sodium is a portable, cross-compilable, installable, packageable \
|
||||
fork of NaCl, with a compatible API, and an extended API to improve usability \
|
||||
even further.
|
||||
Its goal is to provide all of the core operations needed to build higher-level \
|
||||
cryptographic tools.
|
||||
The design choices emphasize security, and \"magic constants\" have clear \
|
||||
rationales.
|
||||
Despite the emphasis on high security, primitives are faster across-the-board \
|
||||
than most implementations of the NIST standards."
|
||||
HOMEPAGE="https://github.com/jedisct1/libsodium"
|
||||
COPYRIGHT="2013-2016 Frank Denis"
|
||||
LICENSE="ISC"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://download.libsodium.org/libsodium/releases/libsodium-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b8648f1bb3a54b0251cf4ffa4f0d76ded13977d4fa7517d988f4c902dd8e2f95"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
libsodium = $portVersion
|
||||
lib:libsodium = 18.1.1 compat >= 18
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsodium_devel = $portVersion
|
||||
devel:libsodium = 18.1.1 compat >= 18
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsodium == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:awk
|
||||
cmd:gcc
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --disable-ssp
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# remove libtool file
|
||||
rm -f $libDir/libsodium.la
|
||||
|
||||
prepareInstalledDevelLib libsodium
|
||||
fixPkgconfig
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user