Date: Sat, 17 Aug 2024 20:44:54 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e0696501810c - main - comms/libusbsio: native C port for NXP libusbsio library Message-ID: <202408172044.47HKisvU043108@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0696501810cc8fad412daced584134c1aaec90e commit e0696501810cc8fad412daced584134c1aaec90e Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2024-07-03 07:50:51 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-08-17 20:44:39 +0000 comms/libusbsio: native C port for NXP libusbsio library Sponsored by: Serenity Cybersecurity, LLC --- comms/Makefile | 1 + comms/libusbsio/Makefile | 28 ++++++++++++++++++++++++++++ comms/libusbsio/distinfo | 3 +++ comms/libusbsio/pkg-descr | 5 +++++ 4 files changed, 37 insertions(+) diff --git a/comms/Makefile b/comms/Makefile index 223b459de247..77a058606f96 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -84,6 +84,7 @@ SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd + SUBDIR += libusbsio SUBDIR += limesuite SUBDIR += linrad SUBDIR += liquid-dsp diff --git a/comms/libusbsio/Makefile b/comms/libusbsio/Makefile new file mode 100644 index 000000000000..a4b0d240b2e5 --- /dev/null +++ b/comms/libusbsio/Makefile @@ -0,0 +1,28 @@ +PORTNAME= libusbsio +PORTVERSION= 2.1.11 +CATEGORIES= comms + +MAINTAINER= fluffy@FreeBSD.org +COMMENT= Native C port for NXP libusbsio library +WWW= https://www.nxp.com/design/software/development-software/library-for-windows-macos-and-ubuntu-linux:LIBUSBSIO + +LICENSE= BSD3CLAUSE + +LIB_DEPENDS= libhidapi.so:comms/hidapi \ + libudev.so:devel/libudev-devd + +USES= gmake localbase:ldflags pkgconfig + +MAKEFILE= makefile + +USE_GITHUB= yes +GH_ACCOUNT= monwarez +GH_TAGNAME= 8577280966ee91cab606df5b0c64889be71ce7b9 + +PLIST_FILES= lib/${PORTNAME}.a lib/${PORTNAME}.so + +do-install: + ${INSTALL_DATA} ${WRKSRC}/bin/${OPSYS:tl}_${ARCH}/${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_LIB} ${WRKSRC}/bin/${OPSYS:tl}_${ARCH}/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/comms/libusbsio/distinfo b/comms/libusbsio/distinfo new file mode 100644 index 000000000000..28eab2c589f2 --- /dev/null +++ b/comms/libusbsio/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1706633732 +SHA256 (monwarez-libusbsio-2.1.11-8577280966ee91cab606df5b0c64889be71ce7b9_GH0.tar.gz) = 0c1ea11ccde44595edc3d19928edcf31bd715cffc4de149be3e45c182ca450f3 +SIZE (monwarez-libusbsio-2.1.11-8577280966ee91cab606df5b0c64889be71ce7b9_GH0.tar.gz) = 836942 diff --git a/comms/libusbsio/pkg-descr b/comms/libusbsio/pkg-descr new file mode 100644 index 000000000000..b244eda5f182 --- /dev/null +++ b/comms/libusbsio/pkg-descr @@ -0,0 +1,5 @@ +The aim of this project is to deliver a dynamic library which enables USB-HID +communication between PC Host and a target MCU over SPI, I2C or GPIO using a +USB-connected bridge device. + +This port contains the C Libraries for the libusbsio/hidapi framework.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408172044.47HKisvU043108>