Files
alire-index-community/index/re/remoteio/remoteio-1.21527.1.toml
2023-12-11 18:50:40 +01:00

65 lines
1.6 KiB
TOML

name = "remoteio"
description = "Remote I/O Protocol Client Library for GNAT Ada"
version = "1.21527.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:983a2f2e0f2609677074cc4eac4590f999de440f6136c7accf468430a7bcc4a3",
"sha512:7c4ff792ef32dedd111ba84df0025951ccd12769217a63dadba510c175a7d62f6eded250546d3b8c292b54e3b21e141ffec458408326ee6701b18517b2234de0",
]
url = "http://repo.munts.com/alire/remoteio-1.21527.1.tbz2"