diff --git a/index/li/libsimpleio/libsimpleio-1.20871.1.toml b/index/li/libsimpleio/libsimpleio-1.20871.1.toml new file mode 100644 index 00000000..72f049ba --- /dev/null +++ b/index/li/libsimpleio/libsimpleio-1.20871.1.toml @@ -0,0 +1,28 @@ +name = "libsimpleio" +description = "Linux Simple I/O Library for GNAT Ada" +version = "1.20871.1" +licenses = "BSD-1-Clause" +website = "https://github.com/pmunts/libsimpleio" + +authors = ["Philip Munts"] +maintainers = ["Philip Munts "] +maintainers-logins = ["pmunts"] + +project-files = ["libsimpleio.gpr"] + +tags = ["embedded", "linux", "libsimpleio", "remoteio", "beaglebone", +"pocketbeagle", "raspberrypi", "raspberry", "pi", "adc", "dac", "gpio", +"hid", "i2c", "motor", "pwm", "sensor", "serial", "servo", "spi", "stepper", +"watchdog"] + +[available."case(os)"] +'linux' = true +"..." = false + +[origin] +hashes = [ +"sha256:f6e407c0d7c8015461cbd72ffd074dc0f98b887c20f3a925179efb4166a423d0", +"sha512:117218e3d73b12598d5b4522a5cda0c4c837e5658cd85143b3006639be7a4ca943e4040a19a968ae88abba4d3e0c4b1ee376cd1c9cc64dab0711ca320b94e6af", +] +url = "http://repo.munts.com/alire/libsimpleio-1.20871.1.tbz2" + diff --git a/index/mc/mcp2221/mcp2221-1.20871.1.toml b/index/mc/mcp2221/mcp2221-1.20871.1.toml new file mode 100644 index 00000000..af1d9db8 --- /dev/null +++ b/index/mc/mcp2221/mcp2221-1.20871.1.toml @@ -0,0 +1,64 @@ +name = "mcp2221" +description = "MCP2221 USB Raw HID I/O Expander Library for GNAT Ada" +version = "1.20871.1" +licenses = "BSD-1-Clause" +website = "https://github.com/pmunts/libsimpleio" + +authors = ["Philip Munts"] +maintainers = ["Philip Munts "] +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:6e5da96c47c0d7642089ff6505eb0d83047c5890fb4361fbdd798ef26ec1a078", +"sha512:d48e2e0f2d25448616796bdafaca94d7c49d9ce84e253c9195645388b3e11fb65b15bbf855421a3c706eae0c0da699609e7be486149dc4d3d9a04c244c91faf8", +] +url = "http://repo.munts.com/alire/mcp2221-1.20871.1.tbz2" + diff --git a/index/re/remoteio/remoteio-1.20871.1.toml b/index/re/remoteio/remoteio-1.20871.1.toml new file mode 100644 index 00000000..0d24aee4 --- /dev/null +++ b/index/re/remoteio/remoteio-1.20871.1.toml @@ -0,0 +1,64 @@ +name = "remoteio" +description = "Remote I/O Protocol Client Library for GNAT Ada" +version = "1.20871.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:dd202ee305680e5f3a31d1f7e9eddc766969eedda2104d3d36393353b2b8405d", +"sha512:8be9eaf1512a70be63e36eed799fbc643f4377c76f05c7268819187d82576189314179e1cf1cb14708c7cff82bfa95d5159f2b626b33015787eb12ef852ebe91", +] +url = "http://repo.munts.com/alire/remoteio-1.20871.1.tbz2" +