summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/openssl')
-rw-r--r--meta/recipes-connectivity/openssl/ocf-linux.inc25
-rw-r--r--meta/recipes-connectivity/openssl/ocf-linux_20100325.bb6
2 files changed, 31 insertions, 0 deletions
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 @@
1DESCRIPTION = "Install required headers to enable OCF Linux support"
2LICENSE = "BSD"
3
4LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7"
5
6INC_PR = "r3"
7
8SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz"
9
10S = "${WORKDIR}/ocf-linux-${PV}"
11
12# Need to unpack the the ocf-linux.tar.gz file contained inside the
13# downloaded tarball
14# Install the OCF Linux headers so that other packages such as openssl
15# can find them. The headers must be in a crypto directory according to
16# the README file.
17do_install() {
18 cd ${S}
19 tar xzf ocf-linux.tar.gz
20 install -d ${D}${includedir}/crypto
21 install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/
22}
23
24ALLOW_EMPTY = "1"
25BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-connectivity/openssl/ocf-linux_20100325.bb b/meta/recipes-connectivity/openssl/ocf-linux_20100325.bb
new file mode 100644
index 0000000000..9dccc3c32f
--- /dev/null
+++ b/meta/recipes-connectivity/openssl/ocf-linux_20100325.bb
@@ -0,0 +1,6 @@
1require ocf-linux.inc
2
3PR = "${INC_PR}.0"
4
5SRC_URI[md5sum] = "ce5ad54aa94226d496df1f0f3cf0c11f"
6SRC_URI[sha256sum] = "9d17cbd13849939c70699b520280e3b94cf77401cdc131108d4aeaaeea587f6b"