diff options
Diffstat (limited to 'meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb')
-rw-r--r-- | meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb index f9dc52393f..f7108013d3 100644 --- a/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb +++ b/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb | |||
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
17 | " | 17 | " |
18 | 18 | ||
19 | DEPENDS = "libgpg-error" | 19 | DEPENDS = "libgpg-error" |
20 | RDEPENDS:${PN}-ptest = "bash" | 20 | RDEPENDS:${PN}-ptest = "bash make" |
21 | 21 | ||
22 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" | 22 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" |
23 | SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \ | 23 | SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \ |
@@ -60,6 +60,12 @@ do_install_ptest() { | |||
60 | cp -r --preserve=mode,links -v ${B} ${D}${PTEST_PATH} | 60 | cp -r --preserve=mode,links -v ${B} ${D}${PTEST_PATH} |
61 | rm ${D}${PTEST_PATH}/build/cipher/gost-s-box | 61 | rm ${D}${PTEST_PATH}/build/cipher/gost-s-box |
62 | rm ${D}${PTEST_PATH}/build/doc/yat2m | 62 | rm ${D}${PTEST_PATH}/build/doc/yat2m |
63 | rm ${D}${PTEST_PATH}/build/libtool | ||
64 | rm ${D}${PTEST_PATH}/build/config.status | ||
65 | rm ${D}${PTEST_PATH}/build/config.log | ||
66 | rm ${D}${PTEST_PATH}/build/src/mpicalc | ||
67 | rm ${D}${PTEST_PATH}/${BP}/autom4te* -rf | ||
68 | sed -i -e 's/Makefile:.*/Makefile-disabled:/' ${D}${PTEST_PATH}/build/Makefile | ||
63 | find ${D}/${PTEST_PATH}/build -name "*.cmake" -or -name "Makefile" \ | 69 | find ${D}/${PTEST_PATH}/build -name "*.cmake" -or -name "Makefile" \ |
64 | | xargs sed -e "s|${WORKDIR}|${PTEST_PATH}|g" -e "s|${WORKDIR}/recipe-sysroot-native||g" -i | 70 | | xargs sed -e "s|${WORKDIR}|${PTEST_PATH}|g" -e "s|${WORKDIR}/recipe-sysroot-native||g" -i |
65 | } | 71 | } |