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 <samuli.piippo@qt.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Samuli Piippo 2022-05-30 13:08:05 +00:00 committed by Khem Raj
parent b76919201b
commit c8541a3482

View File

@ -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
}