diff options
| author | Dima Panov <fluffy@FreeBSD.org> | 2024-07-03 07:50:51 +0000 |
|---|---|---|
| committer | Gleb Popov <arrowd@FreeBSD.org> | 2024-08-17 20:44:39 +0000 |
| commit | e0696501810cc8fad412daced584134c1aaec90e (patch) | |
| tree | 869b8001e9e48523774f44eeeaf2b167d1d5a8f2 /comms/libusbsio | |
| parent | 962383f0103107c1cd0d396f5d01bfc84b849ac3 (diff) | |
Diffstat (limited to 'comms/libusbsio')
| -rw-r--r-- | comms/libusbsio/Makefile | 28 | ||||
| -rw-r--r-- | comms/libusbsio/distinfo | 3 | ||||
| -rw-r--r-- | comms/libusbsio/pkg-descr | 5 |
3 files changed, 36 insertions, 0 deletions
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. |
