Files
alire-index-community/index/mc/mcp2221/mcp2221-1.21121.1.toml
pmunts 5d8d5a55c6 libsimpleio, mcp2221, remoteio 1.21121.1 (#800)
libsimpleio release 1.21121.1
mcp2221 release 1.21121.1
remoteio release 1.21121.1

Reconciled some capitalization inconsistencies.  Also some other
minor cleanups.

This exactly matches the general Debian package release
munts-libsimpleio-2023.115.1-debian11-<arch>.deb.
2023-05-02 14:23:14 +02:00

65 lines
1.6 KiB
TOML

name = "mcp2221"
description = "MCP2221 USB Raw HID I/O Expander Library for GNAT Ada"
version = "1.21121.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:e3f8a97916b82f42cbd9a985a691249d74d51429e9990db9e6da4c678b990860",
"sha512:05b0bf751bd00c6a23f016311a2b409c1a32c0c9aa5db564ecc7d1c4f325b5ced319ac1c8a110cdfebc9d0fb6d5f2b63141055d7908febee1a78d6bcfa5871b6",
]
url = "http://repo.munts.com/alire/mcp2221-1.21121.1.tbz2"