Files
openwrt_yocto/meta-openembedded/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb
T
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

29 lines
1.0 KiB
BlitzBasic

SUMMARY = "Monocypher is an easy-to-use crypto library"
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."
HOMEPAGE = "https://monocypher.org/"
SECTION = "libs"
LICENSE = "BSD-2-Clause | CC0-1.0"
LIC_FILES_CHKSUM = "file://LICENCE.md;md5=ff30a1c41dfd9e6fa559a9e45ee98302"
SRC_URI = "https://monocypher.org/download/${BPN}-${PV}.tar.gz"
SRC_URI[sha512sum] = "bf275d4c53ff94af6cdc723a4e002e9f080f4d1436c86c76bb37870b34807f1d7b32331d8ff8a1aeb369e946f3769021e03e63efac25b82efc5abf54dc084714"
MIRRORS = "https://.*/.* https://github.com/LoupVaillant/Monocypher/releases/download/${PV}/${BPN}-${PV}.tar.gz "
S = "${WORKDIR}/${BPN}-${PV}"
CFLAGS += "-pedantic -Wall -Wextra -O3"
EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'CFLAGS=${CFLAGS}' 'LIBDIR=${libdir}'"
do_compile() {
oe_runmake library
}
do_install() {
oe_runmake install-lib
oe_runmake install-pc
}
BBCLASSEXTEND = "native nativesdk"