summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/beecrypt/beecrypt_4.2.1.bb')
-rw-r--r--meta/recipes-support/beecrypt/beecrypt_4.2.1.bb47
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
5SUMMARY = "A general-purpose cryptography library"
6HOMEPAGE = "http://sourceforge.net/projects/beecrypt"
7
8SRC_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
16SRC_URI[md5sum] = "8441c014170823f2dff97e33df55af1e"
17SRC_URI[sha256sum] = "286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d"
18
19LICENSE = "GPLv2 & LGPLv2.1"
20LIC_FILES_CHKSUM = "file://COPYING;md5=9894370afd5dfe7d02b8d14319e729a1 \
21 file://COPYING.LIB;md5=dcf3c825659e82539645da41a7908589 \
22 file://include/beecrypt/beecrypt.h;endline=20;md5=47a93eef539aac237eef86297a4d71c1"
23
24PR = "r3"
25
26inherit autotools multilib_header ptest
27acpaths=""
28
29do_install_append() {
30 oe_multilib_header beecrypt/gnu.h
31}
32
33EXTRA_OECONF = "--without-python --enable-shared --enable-static --disable-openmp --with-java=no"
34
35PACKAGECONFIG ??= ""
36PACKAGECONFIG[cplusplus] = "--with-cplusplus,--without-cplusplus,icu"
37
38FILES_${PN} = "${sysconfdir} ${libdir}/*.so.* ${libdir}/${BPN}/*.so.*"
39FILES_${PN}-dev += "${libdir}/${BPN}/*.so ${libdir}/${BPN}/*.la"
40FILES_${PN}-staticdev += "${libdir}/${BPN}/*.a"
41
42BBCLASSEXTEND = "native nativesdk"
43
44do_install_ptest () {
45 mkdir ${D}${PTEST_PATH}/tests
46 cp -r ${B}/tests/.libs/test* ${D}${PTEST_PATH}/tests
47}