diff options
Diffstat (limited to 'meta/recipes-support/beecrypt/beecrypt_4.2.1.bb')
| -rw-r--r-- | meta/recipes-support/beecrypt/beecrypt_4.2.1.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb new file mode 100644 index 0000000000..209b92e653 --- /dev/null +++ b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | # Beecrypt OE build file | ||
| 2 | # Copyright (C) 2004-2005, Advanced Micro Devices, Inc. All Rights Reserved | ||
| 3 | # Released under the MIT license (see packages/COPYING) | ||
| 4 | |||
| 5 | SUMMARY = "A general-purpose cryptography library" | ||
| 6 | HOMEPAGE = "http://sourceforge.net/projects/beecrypt" | ||
| 7 | |||
| 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz \ | ||
| 9 | file://disable-icu-check.patch \ | ||
| 10 | file://fix-security.patch \ | ||
| 11 | file://fix-for-gcc-4.7.patch \ | ||
| 12 | file://run-ptest \ | ||
| 13 | file://beecrypt-enable-ptest-support.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRC_URI[md5sum] = "8441c014170823f2dff97e33df55af1e" | ||
| 17 | SRC_URI[sha256sum] = "286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d" | ||
| 18 | |||
| 19 | LICENSE = "GPLv2 & LGPLv2.1" | ||
| 20 | LIC_FILES_CHKSUM = "file://COPYING;md5=9894370afd5dfe7d02b8d14319e729a1 \ | ||
| 21 | file://COPYING.LIB;md5=dcf3c825659e82539645da41a7908589 \ | ||
| 22 | file://include/beecrypt/beecrypt.h;endline=20;md5=47a93eef539aac237eef86297a4d71c1" | ||
| 23 | |||
| 24 | PR = "r3" | ||
| 25 | |||
| 26 | inherit autotools multilib_header ptest | ||
| 27 | acpaths="" | ||
| 28 | |||
| 29 | do_install_append() { | ||
| 30 | oe_multilib_header beecrypt/gnu.h | ||
| 31 | } | ||
| 32 | |||
| 33 | EXTRA_OECONF = "--without-python --enable-shared --enable-static --disable-openmp --with-java=no" | ||
| 34 | |||
| 35 | PACKAGECONFIG ??= "" | ||
| 36 | PACKAGECONFIG[cplusplus] = "--with-cplusplus,--without-cplusplus,icu" | ||
| 37 | |||
| 38 | FILES_${PN} = "${sysconfdir} ${libdir}/*.so.* ${libdir}/${BPN}/*.so.*" | ||
| 39 | FILES_${PN}-dev += "${libdir}/${BPN}/*.so ${libdir}/${BPN}/*.la" | ||
| 40 | FILES_${PN}-staticdev += "${libdir}/${BPN}/*.a" | ||
| 41 | |||
| 42 | BBCLASSEXTEND = "native nativesdk" | ||
| 43 | |||
| 44 | do_install_ptest () { | ||
| 45 | mkdir ${D}${PTEST_PATH}/tests | ||
| 46 | cp -r ${B}/tests/.libs/test* ${D}${PTEST_PATH}/tests | ||
| 47 | } | ||
