Files
meta-openembedded/recipes-connectivity/openssl/ocf-linux.inc
Koen Kooi 2e28165b6b ocf-linux: add license checksum
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-01-07 12:36:17 +01:00

25 lines
742 B
PHP

DESCRIPTION = "Install required headers to enable OCF Linux support"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://README;md5=b02a793c9b7893b4ce1f39f0b231ccd7"
INC_PR = "r0"
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
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() {
install -d ${D}${includedir}/crypto
install -m 0644 ${S}/ocf/*.h ${D}${includedir}/crypto/
}