diff options
-rw-r--r-- | recipes/openssl/ocf-linux.inc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/recipes/openssl/ocf-linux.inc b/recipes/openssl/ocf-linux.inc index 9d8e08911c..d17add1cc9 100644 --- a/recipes/openssl/ocf-linux.inc +++ b/recipes/openssl/ocf-linux.inc @@ -1,7 +1,7 @@ DESCRIPTION = "Install required headers to enable OCF Linux support" LICENSE = "BSD" -INC_PR = "r0" +INC_PR = "r1" SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz" @@ -9,15 +9,14 @@ S = "${WORKDIR}/ocf-linux-${PV}" # Need to unpack the the ocf-linux.tar.gz file contained inside the # downloaded tarball -do_install_prepend() { - cd ${S} - tar xzf ocf-linux.tar.gz -} - # 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 = "" |