aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/openssl/ocf-linux.inc
blob: f62e420165ebbf08127c7d8fc6d601949e9c6fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "Install required headers to enable OCF Linux support"
LICENSE = "BSD"

INC_PR = "r2"

SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz"

S = "${WORKDIR}/ocf-linux-${PV}"

# Need to unpack the the ocf-linux.tar.gz file contained inside the
# downloaded tarball
# 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 = "1"