aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2011-01-08 11:06:47 +0100
committerKoen Kooi <koen@openembedded.org>2011-01-08 11:06:47 +0100
commit9f988f738193c2215bd7f8c68759f38c685e24ce (patch)
treea1881e7276a2a2192ea0897304d2a44de79765cf
parent2f1b81eb90e1259c55fe0b7e904c1e3a5d7614a0 (diff)
downloadopenembedded-9f988f738193c2215bd7f8c68759f38c685e24ce.tar.gz
openembedded-9f988f738193c2215bd7f8c68759f38c685e24ce.tar.bz2
openembedded-9f988f738193c2215bd7f8c68759f38c685e24ce.zip
ocf-linux: fix up do_install task, fix depchains
Signed-off-by: Koen Kooi <koen@openembedded.org>
-rw-r--r--recipes/openssl/ocf-linux.inc11
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 = ""