From bebeebc72c69c45c4d4604347c8069e50f445496 Mon Sep 17 00:00:00 2001 From: Joris Offouga Date: Sun, 7 Jun 2020 18:05:32 +0200 Subject: [PATCH] c-periphery: add recipe Signed-off-by: Joris Offouga Signed-off-by: Khem Raj --- .../c-periphery/c-periphery_2.2.1.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-oe/recipes-support/c-periphery/c-periphery_2.2.1.bb diff --git a/meta-oe/recipes-support/c-periphery/c-periphery_2.2.1.bb b/meta-oe/recipes-support/c-periphery/c-periphery_2.2.1.bb new file mode 100644 index 0000000000..b53cd6b19f --- /dev/null +++ b/meta-oe/recipes-support/c-periphery/c-periphery_2.2.1.bb @@ -0,0 +1,21 @@ +SUMMURY = "C-Periphery lib used to access GPIO, LED, PWM, SPI, I2C, MMIO, Serial" +DESCRIPTION = "A C library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux" + +HOMEPAGE = "https://github.com/vsergeev/c-periphery" + +SECTION = "libs" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4097ec544cf01e9c7cfc4bdf8e4ed887" + +SRC_URI = "git://github.com/vsergeev/c-periphery;protocol=https" +SRCREV = "c2aa7d164f87b807077daeeb3443a56b89e1d1c9" + +S = "${WORKDIR}/git" + +inherit cmake + +EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON" + +BBCLASSEXTEND = "native nativesdk" +