developer | f11ee16 | 2022-04-12 11:17:45 +0800 | [diff] [blame^] | 1 | DESCRIPTION = "Install required headers to enable OCF Linux support" |
| 2 | LICENSE = "BSD" |
| 3 | |
| 4 | LIC_FILES_CHKSUM = "file://README;md5=493ffe65655667614cf24567adf22f11" |
| 5 | |
| 6 | INC_PR = "r3" |
| 7 | |
| 8 | SRC_URI = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/${PV}/ocf-linux-${PV}.tar.gz" |
| 9 | |
| 10 | S = "${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. |
| 17 | do_install() { |
| 18 | cd ${S} |
| 19 | install -d ${D}${includedir}/crypto |
| 20 | install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/ |
| 21 | } |
| 22 | |
| 23 | ALLOW_EMPTY_${PN} = "1" |
| 24 | BBCLASSEXTEND = "native nativesdk" |
| 25 | |
| 26 | RPROVIDES_${PN} = "cryptodev-linux" |