diff --git a/index/re/remoteio/remoteio-2.22297.1.toml b/index/re/remoteio/remoteio-2.22297.1.toml new file mode 100644 index 000000000..06274d78d --- /dev/null +++ b/index/re/remoteio/remoteio-2.22297.1.toml @@ -0,0 +1,64 @@ +name = "remoteio" +description = "Remote I/O Protocol Client Library for GNAT Ada" +version = "2.22297.1" +licenses = "BSD-1-Clause" +website = "https://github.com/pmunts/libsimpleio" + +authors = ["Philip Munts"] +maintainers = ["Philip Munts "] +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:06cfac287968b1b936d5777c79b0e6890f248f9dec044df436d7773aff095f3a", +"sha512:caa3eb4c9522fb29377e931bb117ac51e46e30e2a31052041a80cc138c51b91c09dfd05db462add03fe08c5000bd2f6df57887bb0d3ffbfc5fb4e6d319008ee7", +] +url = "https://raw.githubusercontent.com/pmunts/alire-crates/9688132ed9181dfbdf619a8db690e28e9db138dd/remoteio/remoteio-2.22297.1.tbz2" +