Monocypher: Correct source URI and license

Monocypher has two recipes and a release tarball in home page and in github

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
BELOUARGA Mohamed 2024-01-18 00:56:07 +01:00 committed by Khem Raj
parent 9035d01414
commit 205ed387f6
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -3,13 +3,15 @@ DESCRIPTION = "Monocypher is an easy to use, easy to deploy, \
auditable crypto library written in portable C. It approaches the size of TweetNaCl and the speed of libsodium." auditable crypto library written in portable C. It approaches the size of TweetNaCl and the speed of libsodium."
HOMEPAGE = "https://monocypher.org/" HOMEPAGE = "https://monocypher.org/"
SECTION = "libs" SECTION = "libs"
LICENSE = "BSD-2-Clause" LICENSE = "BSD-2-Clause | CC0-1.0"
LIC_FILES_CHKSUM = "file://LICENCE.md;md5=6a251155d943c8531e01a139f3fc531a" LIC_FILES_CHKSUM = "file://LICENCE.md;md5=ff30a1c41dfd9e6fa559a9e45ee98302"
SRC_URI = "git://github.com/LoupVaillant/Monocypher.git;protocol=https;branch=master" SRC_URI = "https://monocypher.org/download/${BPN}-${PV}.tar.gz"
SRCREV = "0d85f98c9d9b0227e42cf795cb527dff372b40a4" SRC_URI[sha512sum] = "bf275d4c53ff94af6cdc723a4e002e9f080f4d1436c86c76bb37870b34807f1d7b32331d8ff8a1aeb369e946f3769021e03e63efac25b82efc5abf54dc084714"
S = "${WORKDIR}/git" MIRRORS = "https://.*/.* https://github.com/LoupVaillant/Monocypher/releases/download/${PV}/${BPN}-${PV}.tar.gz "
S = "${WORKDIR}/${BPN}-${PV}"
CFLAGS += "-pedantic -Wall -Wextra -O3" CFLAGS += "-pedantic -Wall -Wextra -O3"
EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'CFLAGS=${CFLAGS}' 'LIBDIR=${libdir}'" EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'CFLAGS=${CFLAGS}' 'LIBDIR=${libdir}'"