botan: Make it reproducible

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2024-08-15 15:58:53 -07:00
parent 0d6f463f02
commit 6bff9188c7
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -18,8 +18,8 @@ CPU:armv7ve = "armv7"
do_configure() {
python3 ${S}/configure.py \
--prefix="${D}${exec_prefix}" \
--libdir="${D}${libdir}" \
--prefix="${exec_prefix}" \
--libdir="${libdir}" \
--cpu="${CPU}" \
--cc-bin="${CXX}" \
--cxxflags="${CXXFLAGS}" \
@ -39,8 +39,8 @@ do_compile() {
oe_runmake
}
do_install() {
oe_runmake install
sed -i -e "s|${D}||g" ${D}${libdir}/pkgconfig/botan-3.pc
oe_runmake DESTDIR=${D} install
sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${D}${includedir}/botan-3/botan/build.h
}
PACKAGES += "${PN}-python3"