mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libtomcrypt, new recipe (#7715)
This commit is contained in:
69
dev-libs/libtomcrypt/libtomcrypt-1.18.2.recipe
Normal file
69
dev-libs/libtomcrypt/libtomcrypt-1.18.2.recipe
Normal file
@@ -0,0 +1,69 @@
|
||||
SUMMARY="A fairly comprehensive, modular and portable cryptographic toolkit"
|
||||
DESCRIPTION="LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit \
|
||||
that provides developers with a vast array of well known published block ciphers, one-way hash \
|
||||
functions, chaining modes, pseudo-random number generators, public key cryptography and a \
|
||||
plethora of other routines. "
|
||||
HOMEPAGE="https://www.libtom.net/LibTomCrypt/"
|
||||
COPYRIGHT="2012 Samual Neves
|
||||
2008 Cryptico A/S"
|
||||
LICENSE="Public Domain
|
||||
WTFPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/libtom/libtomcrypt/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="d870fad1e31cb787c85161a8894abb9d7283c2a654a9d3d4c6d45a1eba59952c"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="1.0.1"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libtomcrypt$secondaryArchSuffix = $portVersion
|
||||
lib:libtomcrypt$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libtomcrypt${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libtomcrypt$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libtomcrypt$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cc$secondaryArchSuffix
|
||||
cmd:libtool$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
true
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
export LIBPATH=$libDir
|
||||
export INCPATH=$includeDir
|
||||
make -f makefile.shared IGNORE_SPEED=1 install
|
||||
|
||||
rm $libDir/libtomcrypt.{a,la}
|
||||
|
||||
prepareInstalledDevelLibs libtomcrypt
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make $jobArgs -f makefile.shared IGNORE_SPEED=1 test
|
||||
./test
|
||||
}
|
||||
29
dev-libs/libtomcrypt/licenses/WTFPL v2
Normal file
29
dev-libs/libtomcrypt/licenses/WTFPL v2
Normal file
@@ -0,0 +1,29 @@
|
||||
LibTomCrypt is licensed under DUAL licensing terms.
|
||||
|
||||
Choose and use the license of your needs.
|
||||
|
||||
[LICENSE #1]
|
||||
|
||||
LibTomCrypt is public domain. As should all quality software be.
|
||||
|
||||
Tom St Denis
|
||||
|
||||
[/LICENSE #1]
|
||||
|
||||
[LICENSE #2]
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
|
||||
[/LICENSE #2]
|
||||
Reference in New Issue
Block a user