Files
alire-index-community/index/mc/mcp2221/mcp2221-1.20871.1.toml
pmunts 41fde61d44 libsimpleio, mcp2221, remoteio 1.20871.1 (#755)
* mcp2221 release 1.20871.1

* remoteio release 1.20871.1

* libsimpleio release 1.20871.1
2023-03-09 12:00:30 +01:00

65 lines
1.6 KiB
TOML

name = "mcp2221"
description = "MCP2221 USB Raw HID I/O Expander Library for GNAT Ada"
version = "1.20871.1"
licenses = "BSD-1-Clause"
website = "https://github.com/pmunts/libsimpleio"
authors = ["Philip Munts"]
maintainers = ["Philip Munts <phil@munts.net>"]
maintainers-logins = ["pmunts"]
project-files = ["mcp2221.gpr"]
tags = ["embedded", "linux", "mcp2221", "adc", "dac", "gpio", "i2c", "motor",
"pwm", "sensor", "serial", "servo", "spi", "stepper"]
[available."case(os)"]
'linux|macos|windows' = true
"..." = false
# Linux needs libhidapi and libusb
[[depends-on]]
[depends-on."case(os)"."linux"]
libhidapi = "*"
[[depends-on]]
[depends-on."case(os)"."linux"]
libusb = "*"
# MacOS needs Homebrew hidapi and libusb
#[[depends-on]]
#[depends-on."case(distribution)"."homebrew"]
#libhidapi = "*"
#[[depends-on]]
#[depends-on."case(distribution)"."homebrew"]
#libusb = "*"
# On Linux, patch hid-hidapi.ads to link with libhidapi-hidraw.so
[[actions."case(os)".linux]]
type = "post-fetch"
command = ["sh", "-c", "./src/scripts/postfetch.linux"]
# On MacOS, copy .dylib files to ./lib
[[actions."case(os)".macos]]
type = "post-fetch"
command = ["sh", "-c", "./src/scripts/postfetch.macos"]
# On Windows, copy .DLL files to ./lib
[[actions."case(os)".windows]]
type = "post-fetch"
command = ["sh", "-c", "./src/scripts/postfetch.windows"]
[origin]
hashes = [
"sha256:6e5da96c47c0d7642089ff6505eb0d83047c5890fb4361fbdd798ef26ec1a078",
"sha512:d48e2e0f2d25448616796bdafaca94d7c49d9ce84e253c9195645388b3e11fb65b15bbf855421a3c706eae0c0da699609e7be486149dc4d3d9a04c244c91faf8",
]
url = "http://repo.munts.com/alire/mcp2221-1.20871.1.tbz2"