diff --git a/index/li/libsimpleio/libsimpleio-1.20010.1.toml b/index/li/libsimpleio/libsimpleio-1.20010.1.toml new file mode 100644 index 00000000..3b569d8f --- /dev/null +++ b/index/li/libsimpleio/libsimpleio-1.20010.1.toml @@ -0,0 +1,27 @@ +name = "libsimpleio" +description = "Linux Simple I/O Library bindings for GNAT Ada" +version = "1.20010.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:5239944839ab69e76c33dd444f9a91e8182f0b9631d8fcdfbe16790b8c3548d9", +"sha512:9106e6cb0159411336657bcd3d20a16956c05b82a8ded016a6375bf21161159bac812bade405bec0c4585e594e24e2460d10c981e4e2600958199a45a09e018b", +] +url = "http://repo.munts.com/alire/libsimpleio-1.20010.1.tbz2" + diff --git a/index/re/remoteio/remoteio-1.20010.1.toml b/index/re/remoteio/remoteio-1.20010.1.toml new file mode 100644 index 00000000..9e5313d6 --- /dev/null +++ b/index/re/remoteio/remoteio-1.20010.1.toml @@ -0,0 +1,48 @@ +name = "remoteio" +description = "Remote I/O Protocol Client Library for GNAT Ada" +version = "1.20010.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:81c2457e882c9fa28532a9732a030067e103014c15b568c668069c5651cba68e", +"sha512:3f33e1d13093abed1a9f8a6ccdcaedbfb53ac7f890485cd867433999f4ee8fd613209ee4dcbb0b1d3692f92885a51446e4593ffed2891d15938546311027a32d", +] +url = "http://repo.munts.com/alire/remoteio-1.20010.1.tbz2" +