blob: c9768744da352a0df017643ea039889425a0b60a [file] [log] [blame]
developerf11ee162022-04-12 11:17:45 +08001DESCRIPTION = "Install required headers to enable OCF Linux support"
2LICENSE = "BSD"
3
4LIC_FILES_CHKSUM = "file://README;md5=493ffe65655667614cf24567adf22f11"
5
6INC_PR = "r3"
7
8SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz"
9
10S = "${WORKDIR}/ocf-linux-${PV}"
11
12# Need to unpack the the ocf-linux.tar.gz file contained inside the
13# downloaded tarball
14# Install the OCF Linux headers so that other packages such as openssl
15# can find them. The headers must be in a crypto directory according to
16# the README file.
17do_install() {
18 cd ${S}
19 install -d ${D}${includedir}/crypto
20 install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/
21}
22
23ALLOW_EMPTY_${PN} = "1"
24BBCLASSEXTEND = "native nativesdk"
25
26RPROVIDES_${PN} = "cryptodev-linux"