New port: misc/libiio: Library for interfacing with local and remote IIO devices
This commit is contained in:
@@ -216,6 +216,7 @@
|
||||
SUBDIR += lesspipe
|
||||
SUBDIR += libeatmydata
|
||||
SUBDIR += libemos
|
||||
SUBDIR += libiio
|
||||
SUBDIR += libisocodes
|
||||
SUBDIR += libkeduvocdocument
|
||||
SUBDIR += liblxi
|
||||
|
||||
26
misc/libiio/Makefile
Normal file
26
misc/libiio/Makefile
Normal 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
3
misc/libiio/distinfo
Normal 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
|
||||
11
misc/libiio/files/patch-CMakeLists.txt
Normal file
11
misc/libiio/files/patch-CMakeLists.txt
Normal 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
12
misc/libiio/pkg-descr
Normal 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
12
misc/libiio/pkg-plist
Normal 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
|
||||
Reference in New Issue
Block a user