New package: libiio-0.23

This commit is contained in:
Evgeny Ermakov 2022-01-15 12:43:05 +11:00 committed by classabbyamp
parent fae97e2442
commit 98729ba2af
4 changed files with 39 additions and 0 deletions

View File

@ -4178,3 +4178,4 @@ libnvidia-container.so.1 libnvidia-container-1.10.0_1
libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
libqtspell-qt5.so.1 qtspell-1.0.1_1
libopensmtpd.so.0 libopensmtpd-0.7_1
libiio.so.0 libiio-0.23_1

1
srcpkgs/libiio-devel Symbolic link
View File

@ -0,0 +1 @@
libiio

1
srcpkgs/libiio-tools Symbolic link
View File

@ -0,0 +1 @@
libiio

36
srcpkgs/libiio/template Normal file
View File

@ -0,0 +1,36 @@
# Template file for 'libiio'
pkgname=libiio
version=0.23
revision=1
build_style=cmake
configure_args="-DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d -DWITH_DOC=YES
-DWITH_SERIAL_BACKEND=YES -DHAVE_DNS_SD=YES -DPYTHON_BINDINGS=YES"
hostmakedepends="bison flex doxygen python3 python3-Sphinx python3-sphinx_rtd_theme"
makedepends="avahi-libs-devel libaio-devel libserialport-devel libusb-devel libxml2-devel"
short_desc="Library for interfacing with local and remote Linux IIO devices"
maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://analogdevicesinc.github.io/libiio"
distfiles="https://github.com/analogdevicesinc/libiio/archive/v${version}.tar.gz"
checksum=df1577740ea93dca732e7d7c04786600cb083117901dee793f3d38980754af00
libiio-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmkdir usr/share/doc/libiio
mv ${DESTDIR}/usr/share/doc/libiio0-doc/v${version}/* \
${PKGDESTDIR}/usr/share/doc/libiio
}
}
libiio-tools_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
}
}