ocf-linux: fix up do_install task, fix depchains
authorKoen Kooi <koen@openembedded.org>
Sat, 8 Jan 2011 10:06:47 +0000 (11:06 +0100)
committerKoen Kooi <koen@openembedded.org>
Sat, 8 Jan 2011 10:06:47 +0000 (11:06 +0100)
Signed-off-by: Koen Kooi <koen@openembedded.org>
recipes/openssl/ocf-linux.inc

index 9d8e089..d17add1 100644 (file)
@@ -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 = ""