New package: libgpiod-2.2
This commit is contained in:
parent
8d26b20c72
commit
c1170d04fd
|
@ -0,0 +1 @@
|
|||
libgpiod
|
|
@ -0,0 +1 @@
|
|||
libgpiod
|
|
@ -0,0 +1 @@
|
|||
libgpiod
|
|
@ -0,0 +1,52 @@
|
|||
# Template file for 'libgpiod'
|
||||
pkgname=libgpiod
|
||||
version=2.2
|
||||
revision=1
|
||||
build_style="gnu-configure"
|
||||
build_helper="python3"
|
||||
configure_args="--prefix=/usr --enable-tools=yes --enable-bindings-cxx
|
||||
--enable-bindings-python --enable-gpioset-interactive"
|
||||
hostmakedepends="autoconf automake autoconf-archive doxygen libtool
|
||||
pkg-config python3-build python3-pip"
|
||||
makedepends="libedit-devel python3-devel"
|
||||
short_desc="C library for interacting with the linux GPIO character device"
|
||||
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
|
||||
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="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/snapshot/libgpiod-${version}.tar.gz"
|
||||
checksum=ae35329db7027c740e90c883baf27c26311f0614e6a7b115771b28188b992aec
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSES/BSD-3-Clause.txt
|
||||
vlicense LICENSES/Linux-syscall-note.txt
|
||||
}
|
||||
|
||||
libgpiod-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
||||
|
||||
libgpiod-python3_package() {
|
||||
short_desc+=" - python bindings"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/python3*"
|
||||
}
|
||||
}
|
||||
|
||||
libgpiod-tools_package() {
|
||||
short_desc+=" - utilities"
|
||||
pkg_install() {
|
||||
vmove usr/bin
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue