New port: misc/libiio: Library for interfacing with local and remote IIO devices

This commit is contained in:
Yuri Victorovich
2019-02-09 19:54:43 +00:00
parent c64f30cc5d
commit 08049317ab
6 changed files with 65 additions and 0 deletions

View File

@@ -216,6 +216,7 @@
SUBDIR += lesspipe
SUBDIR += libeatmydata
SUBDIR += libemos
SUBDIR += libiio
SUBDIR += libisocodes
SUBDIR += libkeduvocdocument
SUBDIR += liblxi

26
misc/libiio/Makefile Normal file
View File

@@ -0,0 +1,26 @@
# $FreeBSD$
PORTNAME= libiio
DISTVERSIONPREFIX= v
DISTVERSION= 0.17
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library for interfacing with local and remote IIO devices
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/COPYING.txt
LIB_DEPENDS= libavahi-client.so:net/avahi-app
USES= cmake gnome
USE_GITHUB= yes
GH_ACCOUNT= analogdevicesinc
USE_GNOME= libxml2
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
PORTDOCS= *
.include <bsd.port.mk>

3
misc/libiio/distinfo Normal file
View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1549741571
SHA256 (analogdevicesinc-libiio-v0.17_GH0.tar.gz) = f591693b8759b6f159ab7afcc1325854a883a486adaf8a849acbdfe0def9db56
SIZE (analogdevicesinc-libiio-v0.17_GH0.tar.gz) = 199593

View File

@@ -0,0 +1,11 @@
--- CMakeLists.txt.orig 2019-02-09 19:52:30 UTC
+++ CMakeLists.txt
@@ -310,7 +310,7 @@ endif()
#set(SETUP_PY ${CMAKE_CURRENT_SOURCE_DIR}/bindings/python/setup.py)
#configure_file(python/setup.py.in ${SETUP_PY} @ONLY)
-add_subdirectory(bindings)
+#add_subdirectory(bindings)
if (WITH_MATLAB_BINDINGS_API)
set(LIBIIO_EXTRA_HEADERS ${LIBIIO_EXTRA_HEADERS} bindings/matlab/iio-wrapper.h)

12
misc/libiio/pkg-descr Normal file
View File

@@ -0,0 +1,12 @@
libiio is used to interface to the Linux Industrial Input/Output (IIO)
Subsystem. The Linux IIO subsystem is intended to provide support for devices
that in some sense are analog to digital or digital to analog converters (ADCs,
DACs). This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs,
Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and
Proximity Sensors, Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital
Synthesis), PLLs (Phase Locked Loops), Variable/Programmable Gain Amplifiers
(VGA, PGA), and RF transceivers. You can use libiio natively on an embedded
Linux target (local mode), or use libiio to communicate remotely to that same
target from a host Linux, Windows or MAC over USB or Ethernet or Serial.
WWW: https://github.com/analogdevicesinc/libiio

12
misc/libiio/pkg-plist Normal file
View File

@@ -0,0 +1,12 @@
bin/iio_adi_xflow_check
bin/iio_attr
bin/iio_genxml
bin/iio_info
bin/iio_readdev
bin/iio_reg
bin/iio_writedev
include/iio.h
lib/libiio.so
lib/libiio.so.0
lib/libiio.so.0.17
libdata/pkgconfig/libiio.pc