diff --git a/index/li/libsimpleio/libsimpleio-1.21136.1.toml b/index/li/libsimpleio/libsimpleio-1.21136.1.toml new file mode 100644 index 00000000..17564397 --- /dev/null +++ b/index/li/libsimpleio/libsimpleio-1.21136.1.toml @@ -0,0 +1,28 @@ +name = "libsimpleio" +description = "Linux Simple I/O Library for GNAT Ada" +version = "1.21136.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:c740fb8476cd94c960be4e888c8db7d346f2119ec41b93db953997ecb3b7baa8", +"sha512:1a5bd9ecc3adab4bbe14a4f118e3d7d0729666966fd0d634d8f07026f163a3baff88c0dafe2e347d2f2e1629ad24b553ce267296ae14e6180293932e63d082b3", +] +url = "http://repo.munts.com/alire/libsimpleio-1.21136.1.tbz2" + diff --git a/index/mc/mcp2221/mcp2221-1.21136.1.toml b/index/mc/mcp2221/mcp2221-1.21136.1.toml new file mode 100644 index 00000000..5d01c092 --- /dev/null +++ b/index/mc/mcp2221/mcp2221-1.21136.1.toml @@ -0,0 +1,64 @@ +name = "mcp2221" +description = "MCP2221 USB Raw HID I/O Expander Library for GNAT Ada" +version = "1.21136.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:bc6943f65ef51b9d50733506ef6f024589809c33f36dae6d909b548aff2f074a", +"sha512:85bd4465153998645503dab1b783d3ded55b1ba1839c2d3208bac5e58b10966b79c57ece8734933cc4a479a58a74f31e210cf81f46419c718f89cce69267a84b", +] +url = "http://repo.munts.com/alire/mcp2221-1.21136.1.tbz2" + diff --git a/index/re/remoteio/remoteio-1.21136.1.toml b/index/re/remoteio/remoteio-1.21136.1.toml new file mode 100644 index 00000000..e6d7ba00 --- /dev/null +++ b/index/re/remoteio/remoteio-1.21136.1.toml @@ -0,0 +1,64 @@ +name = "remoteio" +description = "Remote I/O Protocol Client Library for GNAT Ada" +version = "1.21136.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:f486477070330799b089e03d554e0286670e1d5a0542535bc58a1a90987ae90d", +"sha512:4d8027281fed7d0393e988d1f56b0dc3c3007c555d446ca671ea8a541cb29a90ec84784188c97ad33938840627a1b95ff45bbb28f2609339c640511662c84ec9", +] +url = "http://repo.munts.com/alire/remoteio-1.21136.1.tbz2" +