From c8541a348232e99eb54bf49661966192fbf8a0c0 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 30 May 2022 13:08:05 +0000 Subject: [PATCH] libtomcrypt: add recipe 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. Signed-off-by: Samuli Piippo Signed-off-by: Khem Raj --- .../libtomcrypt/libtomcrypt_1.18.2.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb diff --git a/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb b/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb new file mode 100644 index 0000000000..357fd0ab8d --- /dev/null +++ b/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb @@ -0,0 +1,21 @@ +SUMMARY = "LibTomCrypt is a public domain open source cryptographic toolkit" +HOMEPAGE = "https://www.libtom.net/LibTomCrypt" +SECTION = "libs" +LICENSE = "Unlicense" +LIC_FILES_CHKSUM = "file://LICENSE;md5=71baacc459522324ef3e2b9e052e8180" + +DEPENDS += "libtool-cross" + +SRC_URI = "git://github.com/libtom/libtomcrypt.git;protocol=https;branch=master" + +SRCREV = "7e7eb695d581782f04b24dc444cbfde86af59853" + +S = "${WORKDIR}/git" + +do_compile() { + oe_runmake -f makefile.shared +} + +do_install() { + oe_runmake -f makefile.shared 'PREFIX=${prefix}' 'DESTDIR=${D}' install +}