From 664f12a6b9bece3decf9bc7c0ea16362d933f018 Mon Sep 17 00:00:00 2001 From: Tim Sandquist Date: Thu, 29 Aug 2024 07:45:47 -0500 Subject: [PATCH] New package: libgpiod-2.1.3 --- srcpkgs/libgpiod/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/libgpiod/template diff --git a/srcpkgs/libgpiod/template b/srcpkgs/libgpiod/template new file mode 100644 index 00000000000000..52f6f8517d7a4b --- /dev/null +++ b/srcpkgs/libgpiod/template @@ -0,0 +1,24 @@ +# Template file for 'libgpiod' +pkgname=libgpiod +version=2.1.3 +revision=1 +build_style=gnu-configure +makedepends="libedit-devel" +hostmakedepends="autoconf automake autoconf-archive doxygen libtool + pkg-config python3-devel python3-setuptools" +depends="python3" +short_desc="C library and tools for interacting with the linux GPIO character device" +maintainer="Tim Sandquist " +license="Apache-2.0, BSD-3-Clause, CC-BY-SA-4.0, CC0-1.0, GPL-2.0-only, GPL-2.0-or-later, LGPL-2.1-or-later, custom:Linux-syscall-note" +homepage="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git" +distfiles="${homepage}/snapshot/libgpiod-${version}.tar.gz" +checksum=8d80ea022ae78122aa525308e7423b83064bff278fcd9cd045b94b4f81f8057d + +do_configure() { + ./autogen.sh --prefix=/usr --enable-tools=yes --enable-bindings-cxx --enable-bindings-python --enable-gpioset-interactive --host=${XBPS_MACHINE} +} + +post_install() { + vlicense LICENSES/BSD-3-Clause.txt + vlicense LICENSES/Linux-syscall-note.txt +}