summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/openssl/ocf-linux.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/openssl/ocf-linux.inc')
-rw-r--r--recipes-connectivity/openssl/ocf-linux.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/recipes-connectivity/openssl/ocf-linux.inc b/recipes-connectivity/openssl/ocf-linux.inc
index c6f2eacac1..b98f887ff4 100644
--- a/recipes-connectivity/openssl/ocf-linux.inc
+++ b/recipes-connectivity/openssl/ocf-linux.inc
@@ -1,8 +1,9 @@
1DESCRIPTION = "Install required headers to enable OCF Linux support" 1DESCRIPTION = "Install required headers to enable OCF Linux support"
2LICENSE = "BSD" 2LICENSE = "BSD"
3LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7"
4 3
5INC_PR = "r0" 4LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7"
5
6INC_PR = "r3"
6 7
7SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz" 8SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz"
8 9
@@ -10,15 +11,14 @@ S = "${WORKDIR}/ocf-linux-${PV}"
10 11
11# Need to unpack the the ocf-linux.tar.gz file contained inside the 12# Need to unpack the the ocf-linux.tar.gz file contained inside the
12# downloaded tarball 13# downloaded tarball
13do_install_prepend() {
14 cd ${S}
15 tar xzf ocf-linux.tar.gz
16}
17
18# Install the OCF Linux headers so that other packages such as openssl 14# Install the OCF Linux headers so that other packages such as openssl
19# can find them. The headers must be in a crypto directory according to 15# can find them. The headers must be in a crypto directory according to
20# the README file. 16# the README file.
21do_install() { 17do_install() {
18 cd ${S}
19 tar xzf ocf-linux.tar.gz
22 install -d ${D}${includedir}/crypto 20 install -d ${D}${includedir}/crypto
23 install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/ 21 install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/
24} 22}
23
24ALLOW_EMPTY = "1"