From 331e3d406e445c27f024dc73202ec4478a7ab32b Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Tue, 17 Apr 2018 16:20:17 +0200 Subject: libgpiod: include the version in the recipe filename As the first step in supporting both v0.x and v1.x series: include the version in the recipe filename. Signed-off-by: Bartosz Golaszewski Signed-off-by: Armin Kuster --- meta-oe/recipes-support/libgpiod/libgpiod.bb | 26 ---------------------- meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb | 24 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 26 deletions(-) delete mode 100644 meta-oe/recipes-support/libgpiod/libgpiod.bb create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb (limited to 'meta-oe/recipes-support') diff --git a/meta-oe/recipes-support/libgpiod/libgpiod.bb b/meta-oe/recipes-support/libgpiod/libgpiod.bb deleted file mode 100644 index b2e3bae69b..0000000000 --- a/meta-oe/recipes-support/libgpiod/libgpiod.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "C library and tools for interacting with the linux GPIO character device" - -LICENSE = "LGPLv2.1+" -LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de" - -SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz" - -SRC_URI[md5sum] = "9c1966bea7dffd59bd099a8b2930e2ea" -SRC_URI[sha256sum] = "50c7862428ca90b58672e2475aea66d33a6fc86c6bab1928c0660f3aedf44a37" - -PV = "0.3.2" - -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}-tools = "${bindir}/*" - -RRECOMMENDS_TOOLS = "${@bb.utils.contains('PACKAGECONFIG', 'tools', '${PN}-tools', '',d)}" -RRECOMMENDS_${PN} += "${RRECOMMENDS_TOOLS}" diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb new file mode 100644 index 0000000000..20068894eb --- /dev/null +++ b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb @@ -0,0 +1,24 @@ +SUMMARY = "C library and tools for interacting with the linux GPIO character device" + +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de" + +SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz" + +SRC_URI[md5sum] = "9c1966bea7dffd59bd099a8b2930e2ea" +SRC_URI[sha256sum] = "50c7862428ca90b58672e2475aea66d33a6fc86c6bab1928c0660f3aedf44a37" + +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}-tools = "${bindir}/*" + +RRECOMMENDS_TOOLS = "${@bb.utils.contains('PACKAGECONFIG', 'tools', '${PN}-tools', '',d)}" +RRECOMMENDS_${PN} += "${RRECOMMENDS_TOOLS}" -- cgit 1.2.3-korg