diff options
| -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" | |||
| 5 | SECTION = "libs" | 5 | SECTION = "libs" |
| 6 | 6 | ||
| 7 | SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz" | 7 | SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz" |
| 8 | SRC_URI[sha256sum] = "67e8dae1ca2468d90de4e601c87d5f31ff492b38e8ab8bcbd02ddf7104ed8a9f" | 8 | SRC_URI[sha256sum] = "7cb8575d88d232c77174769d7f9e24bb44444160585986eebd66e749cb9a9089" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/Botan-${PV}" | 10 | S = "${WORKDIR}/Botan-${PV}" |
| 11 | 11 | ||
| @@ -41,12 +41,25 @@ do_compile() { | |||
| 41 | do_install() { | 41 | do_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 | ||
| 46 | PACKAGES += "${PN}-python3" | 52 | PACKAGES += "${PN}-test ${PN}-python3" |
| 47 | 53 | ||
| 48 | FILES:${PN}-python3 = "${libdir}/python3" | 54 | FILES:${PN}-python3 = "${libdir}/python3" |
| 49 | 55 | ||
| 50 | RDEPENDS:${PN}-python3 += "python3" | 56 | RDEPENDS:${PN}-python3 += "python3" |
| 51 | 57 | RDEPENDS:${PN}-bin += "${PN}" | |
| 58 | RDEPENDS:${PN}-test += "${PN}" | ||
| 59 | FILES:${PN}:remove = "${bindir}/*" | ||
| 60 | FILES:${PN}-bin:remove = "${bindir}/*" | ||
| 61 | FILES:${PN}-bin = "${bindir}/botan" | ||
| 62 | FILES:${PN}-test = "${bindir}/botan-test ${datadir}/${PN}/tests/data" | ||
| 52 | COMPATIBLE_HOST:riscv32 = "null" | 63 | COMPATIBLE_HOST:riscv32 = "null" |
| 64 | |||
| 65 | BBCLASSEXTEND = "native nativesdk" | ||
