d2be6c8e74
* libsimpleio release 1.20946.1 More improvements, especially to the support for Mikroelektronika Click Boards. Also support for more Remote I/O Protocol servers. * remoteio release 1.20946.1 More improvements, especially to the support for Mikroelektronika Click Boards. Also support for more Remote I/O Protocol servers.
65 lines
1.6 KiB
TOML
65 lines
1.6 KiB
TOML
name = "remoteio"
|
|
description = "Remote I/O Protocol Client Library for GNAT Ada"
|
|
version = "1.20946.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 = ["remoteio.gpr"]
|
|
|
|
tags = ["embedded", "linux", "remoteio", "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:3465514d6bfe1b9d74c05eb4b545f92aaacba137f59d2ec0089a294be9d9db7d",
|
|
"sha512:658f6eb016124ac958a35a62cbc2dab1b09ee66ae472528e302a498354a0282b6ee70c350f1d2b7cf8f30309f2206105449ffed36fbcd76fbacca88f60ca54d2",
|
|
]
|
|
url = "http://repo.munts.com/alire/remoteio-1.20946.1.tbz2"
|
|
|