diff options
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/openssl/ocf-linux.inc | 25 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/ocf-linux_20100325.bb | 6 |
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 @@ | |||
1 | DESCRIPTION = "Install required headers to enable OCF Linux support" | ||
2 | LICENSE = "BSD" | ||
3 | |||
4 | LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7" | ||
5 | |||
6 | INC_PR = "r3" | ||
7 | |||
8 | SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz" | ||
9 | |||
10 | S = "${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. | ||
17 | do_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 | |||
24 | ALLOW_EMPTY = "1" | ||
25 | BBCLASSEXTEND = "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 @@ | |||
1 | require ocf-linux.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | SRC_URI[md5sum] = "ce5ad54aa94226d496df1f0f3cf0c11f" | ||
6 | SRC_URI[sha256sum] = "9d17cbd13849939c70699b520280e3b94cf77401cdc131108d4aeaaeea587f6b" | ||