From 264dacf41b9ffa80c907a688c38b36e4f987274a Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Mon, 28 Nov 2011 14:17:21 -0800 Subject: ocf-linux: Add ocf-linux to support openssl 1.0 (From OE-Core rev: b4fc41a85d088c60c6f687f2354fe9ca27b46e8e) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-connectivity/openssl/ocf-linux.inc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta/recipes-connectivity/openssl/ocf-linux.inc (limited to 'meta/recipes-connectivity/openssl/ocf-linux.inc') diff --git a/meta/recipes-connectivity/openssl/ocf-linux.inc b/meta/recipes-connectivity/openssl/ocf-linux.inc new file mode 100644 index 0000000000..f4ec7c99c5 --- /dev/null +++ b/meta/recipes-connectivity/openssl/ocf-linux.inc @@ -0,0 +1,25 @@ +DESCRIPTION = "Install required headers to enable OCF Linux support" +LICENSE = "BSD" + +LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7" + +INC_PR = "r3" + +SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz" + +S = "${WORKDIR}/ocf-linux-${PV}" + +# Need to unpack the the ocf-linux.tar.gz file contained inside the +# downloaded tarball +# Install the OCF Linux headers so that other packages such as openssl +# can find them. The headers must be in a crypto directory according to +# the README file. +do_install() { + cd ${S} + tar xzf ocf-linux.tar.gz + install -d ${D}${includedir}/crypto + install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/ +} + +ALLOW_EMPTY = "1" +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf