[oe-commits] [meta-openembedded] 01/73: libgpiod: Add new recipe

git at git.openembedded.org git at git.openembedded.org
Sat May 27 09:22:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 7ba2eea560b830c482527bb10be6e725fc648ddb
Author: Marek Belisko <marek.belisko at open-nandra.com>
AuthorDate: Tue May 16 21:56:55 2017 +0200

    libgpiod: Add new recipe
    
    libgpiod - C library and tools for interacting with the linux GPIO
    character device
    
    Since linux 4.8 the GPIO sysfs interface is deprecated.
    User space should use the character device instead.
    This library encapsulates the ioctl calls and data structures behind a
    straightforward API.
    
    Signed-off-by: Marek Belisko <marek.belisko at open-nandra.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-support/libgpiod/libgpiod_0.2.bb | 25 ++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_0.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_0.2.bb
new file mode 100644
index 0000000..fe2cd80
--- /dev/null
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_0.2.bb
@@ -0,0 +1,25 @@
+SUMMARY = "C library and tools for interacting with the linux GPIO character device"
+HOMEPAGE = "https://github.com/brgl/libgpiod"
+
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de"
+
+UPSTREAM_CHECK_URI = "https://github.com/brgl/libgpiod/releases"
+
+SRC_URI = "https://github.com/brgl/libgpiod/archive/v${PV}.tar.gz"
+
+SRC_URI[md5sum] = "e3430f35b6efa842693d659c0bfb7ad5"
+SRC_URI[sha256sum] = "de1947f3cb2cc4174364af430309fe6238976658575655bdbd76c60cffa7df92"
+
+inherit autotools pkgconfig
+
+# enable tools
+PACKAGECONFIG ?= "tools"
+
+PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
+PACKAGECONFIG[tools] = "--enable-tools,--disable-tools,"
+
+PACKAGES += " ${PN}-tools"
+
+FILES_${PN} = "${libdir}/*"
+FILES_${PN}-tools = "${bindir}/*"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list