From ca79380e4a3d32d6921ad8724dc22f33cb16fa5c Mon Sep 17 00:00:00 2001 From: pmunts Date: Thu, 2 Sep 2021 04:26:36 -0700 Subject: [PATCH] remoteio release 1.19928.2 (#309) msys tar needs tarballs created with -H posix --- index/re/remoteio/remoteio-1.19928.2.toml | 47 +++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 index/re/remoteio/remoteio-1.19928.2.toml diff --git a/index/re/remoteio/remoteio-1.19928.2.toml b/index/re/remoteio/remoteio-1.19928.2.toml new file mode 100644 index 00000000..dc093a2b --- /dev/null +++ b/index/re/remoteio/remoteio-1.19928.2.toml @@ -0,0 +1,47 @@ +name = "remoteio" +description = "Remote I/O Protocol Client Library for GNAT Ada" +version = "1.19928.2" +licenses = "BSD-1-Clause" +website = "https://github.com/pmunts/simpleio" + +authors = ["Philip Munts"] +maintainers = ["Philip Munts "] +maintainers-logins = ["pmunts"] + +project-files = ["remoteio.gpr", "programs.gpr"] + +tags = ["embedded", "linux", "remoteio", "adc", "dac", "gpio", "i2c", "motor", +"pwm", "sensor", "serial", "servo", "spi", "stepper"] + +[available."case(os)"] +'linux|windows' = true +"..." = false + +# Linux needs libhidapi-dev and/or libusb-1.0-0-dev installed + +[[depends-on]] +[depends-on."case(os)"."linux"] +libhidapi = "~0.8" + +[[depends-on]] +[depends-on."case(os)"."linux"] +libusb = "~1.0" + +# On Linux, patch hid-hidapi.ads to link with libhidapi-hidraw.so + +[[actions."case(os)".linux]] +type = "post-fetch" +command = ["sh", "-c", "sed -i 's/lhidapi/lhidapi-hidraw/g' src/objects/hid/hid-hidapi.ads"] + +# On Windows, copy .DLL files to ./bin/ (for execution) and ./lib/ (for linking) + +[[actions."case(os)".windows]] +type = "post-fetch" +command = ["sh", "-c", "mkdir -p ./bin && cp src/win64/*.dll ./bin && mkdir -p ./lib && cp src/win64/*.dll ./lib"] + +[origin] +hashes = [ +"sha512:6f9f2f580b06ea18d2b462ee08408741d5fecbcd554114802e7303f2d05dd7025592f6a9f2a1205d5dcf782a4c0950c324aab9213be296c692ddfec838ed436f", +] +url = "http://repo.munts.com/alire/remoteio-1.19928.2.tbz2" +