summaryrefslogtreecommitdiffstats
path: root/meta-facebook/meta-yosemite/recipes-yosemite/fblibs/libyosemite-sensor_0.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-facebook/meta-yosemite/recipes-yosemite/fblibs/libyosemite-sensor_0.1.bb')
-rw-r--r--meta-facebook/meta-yosemite/recipes-yosemite/fblibs/libyosemite-sensor_0.1.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-facebook/meta-yosemite/recipes-yosemite/fblibs/libyosemite-sensor_0.1.bb b/meta-facebook/meta-yosemite/recipes-yosemite/fblibs/libyosemite-sensor_0.1.bb
new file mode 100644
index 0000000..fbb4a15
--- /dev/null
+++ b/meta-facebook/meta-yosemite/recipes-yosemite/fblibs/libyosemite-sensor_0.1.bb
@@ -0,0 +1,25 @@
+# Copyright 2015-present Facebook. All Rights Reserved.
+SUMMARY = "Yosemite Sensor Library"
+DESCRIPTION = "library for reading various sensors"
+SECTION = "base"
+PR = "r1"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://yosemite_sensor.c;beginline=8;endline=20;md5=da35978751a9d71b73679307c4d296ec"
+
+
+SRC_URI = "file://yosemite_sensor \
+ "
+DEPENDS =+ " libipmi libipmb libbic libsdr libyosemite-common "
+
+S = "${WORKDIR}/yosemite_sensor"
+
+do_install() {
+ install -d ${D}${libdir}
+ install -m 0644 libyosemite_sensor.so ${D}${libdir}/libyosemite_sensor.so
+
+ install -d ${D}${includedir}/facebook
+ install -m 0644 yosemite_sensor.h ${D}${includedir}/facebook/yosemite_sensor.h
+}
+
+FILES_${PN} = "${libdir}/libyosemite_sensor.so"
+FILES_${PN}-dev = "${includedir}/facebook/yosemite_sensor.h"
OpenPOWER on IntegriCloud