summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-crypto/botan/botan_3.6.1.bb (renamed from meta-oe/recipes-crypto/botan/botan_3.5.0.bb)19
1 files changed, 16 insertions, 3 deletions
diff --git a/meta-oe/recipes-crypto/botan/botan_3.5.0.bb b/meta-oe/recipes-crypto/botan/botan_3.6.1.bb
index 3a40680a45..c9f977bb4c 100644
--- a/meta-oe/recipes-crypto/botan/botan_3.5.0.bb
+++ b/meta-oe/recipes-crypto/botan/botan_3.6.1.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://license.txt;md5=573e74513ae3057b04757df65b537de0"
5SECTION = "libs" 5SECTION = "libs"
6 6
7SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz" 7SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz"
8SRC_URI[sha256sum] = "67e8dae1ca2468d90de4e601c87d5f31ff492b38e8ab8bcbd02ddf7104ed8a9f" 8SRC_URI[sha256sum] = "7cb8575d88d232c77174769d7f9e24bb44444160585986eebd66e749cb9a9089"
9 9
10S = "${WORKDIR}/Botan-${PV}" 10S = "${WORKDIR}/Botan-${PV}"
11 11
@@ -41,12 +41,25 @@ do_compile() {
41do_install() { 41do_install() {
42 oe_runmake DESTDIR=${D} install 42 oe_runmake DESTDIR=${D} install
43 sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${D}${includedir}/botan-3/botan/build.h 43 sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${D}${includedir}/botan-3/botan/build.h
44
45 # Add botan binary and test tool
46 install -d ${D}${bindir}
47 install -d ${D}${datadir}/${PN}/tests/data
48 install -m 0755 ${B}/botan-test ${D}${bindir}
49 cp -R --no-dereference --preserve=mode,links -v ${B}/src/tests/data/* ${D}${datadir}/${PN}/tests/data/
44} 50}
45 51
46PACKAGES += "${PN}-python3" 52PACKAGES += "${PN}-test ${PN}-python3"
47 53
48FILES:${PN}-python3 = "${libdir}/python3" 54FILES:${PN}-python3 = "${libdir}/python3"
49 55
50RDEPENDS:${PN}-python3 += "python3" 56RDEPENDS:${PN}-python3 += "python3"
51 57RDEPENDS:${PN}-bin += "${PN}"
58RDEPENDS:${PN}-test += "${PN}"
59FILES:${PN}:remove = "${bindir}/*"
60FILES:${PN}-bin:remove = "${bindir}/*"
61FILES:${PN}-bin = "${bindir}/botan"
62FILES:${PN}-test = "${bindir}/botan-test ${datadir}/${PN}/tests/data"
52COMPATIBLE_HOST:riscv32 = "null" 63COMPATIBLE_HOST:riscv32 = "null"
64
65BBCLASSEXTEND = "native nativesdk"