diff --git a/index/li/libsimpleio/libsimpleio-1.20220.1.toml b/index/li/libsimpleio/libsimpleio-1.20220.1.toml new file mode 100644 index 00000000..e5575ea9 --- /dev/null +++ b/index/li/libsimpleio/libsimpleio-1.20220.1.toml @@ -0,0 +1,27 @@ +name = "libsimpleio" +description = "Linux Simple I/O Library bindings for GNAT Ada" +version = "1.20220.1" +licenses = "BSD-1-Clause" +website = "https://github.com/pmunts/libsimpleio" + +authors = ["Philip Munts"] +maintainers = ["Philip Munts "] +maintainers-logins = ["pmunts"] + +project-files = ["libsimpleio.gpr", "programs.gpr"] + +tags = ["embedded", "linux", "libsimpleio", "remoteio", "beaglebone", +"pocketbeagle", "raspberrypi", "adc", "dac", "gpio", "hid", "i2c", "motor", +"pwm", "sensor", "serial", "servo", "spi", "stepper", "watchdog"] + +[available."case(os)"] +'linux' = true +"..." = false + +[origin] +hashes = [ +"sha256:7948719ddee5ac076bd31e01537a08a4c95b771af46e328f852153c116036e87", +"sha512:cab62e6feae28e9519ce5f2af0cc6b0778bbf8407a0f4834d7714214a6c03fc51b5b63715d613a26410cdbe3a731b3b4c47ac75c31dba76f34dfc184d2f0292b", +] +url = "http://repo.munts.com/alire/libsimpleio-1.20220.1.tbz2" + diff --git a/index/mc/mcp2221/mcp2221-1.20220.1.toml b/index/mc/mcp2221/mcp2221-1.20220.1.toml new file mode 100644 index 00000000..baa496a0 --- /dev/null +++ b/index/mc/mcp2221/mcp2221-1.20220.1.toml @@ -0,0 +1,48 @@ +name = "mcp2221" +description = "MCP2221 USB Raw HID I/O Expander Library for GNAT Ada" +version = "1.20220.1" +licenses = "BSD-1-Clause" +website = "https://github.com/pmunts/libsimpleio" + +authors = ["Philip Munts"] +maintainers = ["Philip Munts "] +maintainers-logins = ["pmunts"] + +project-files = ["mcp2221.gpr", "programs.gpr"] + +tags = ["embedded", "linux", "mcp2221", "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 = "*" + +[[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 = [ +"sha256:af01ab3406c53ddb317ffef3ed510aec2f0cdbd3a8435d37004c0d1bb6d14422", +"sha512:4bb16b3cfce2e0bf88c8827281251ed64ae4edac24f02347406c8360cf4e7baaaf0623dda95d1eda87fdb93c1eed1baabe5c1553654d8b73a56140c7e2ae5c55", +] +url = "http://repo.munts.com/alire/mcp2221-1.20220.1.tbz2" + diff --git a/index/re/remoteio/remoteio-1.20220.1.toml b/index/re/remoteio/remoteio-1.20220.1.toml new file mode 100644 index 00000000..4611cf3d --- /dev/null +++ b/index/re/remoteio/remoteio-1.20220.1.toml @@ -0,0 +1,48 @@ +name = "remoteio" +description = "Remote I/O Protocol Client Library for GNAT Ada" +version = "1.20220.1" +licenses = "BSD-1-Clause" +website = "https://github.com/pmunts/libsimpleio" + +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 = "*" + +[[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 = [ +"sha256:64576e563db4b914de34bc316e632522b0d58c3d6a2f86996480bb6770ea0946", +"sha512:76e58c614dcdf4333fd9d23dd1d2031f6f802c195fcea08b1ed1ec6d25e49430fd4ed8f7aa44cba94ae8f075427eeea3a1e1a045e47e673a5873609c4be265b0", +] +url = "http://repo.munts.com/alire/remoteio-1.20220.1.tbz2" +