# HG changeset patch # User Edouard Tisserant # Date 1660140366 -7200 # Node ID 90da520cbaa52f361bd7490e23fd9556d831bc56 # Parent a95b2fa896e9d7ca3dde4145dd9551929451888c SNAP: add Modbus source and dependencies diff -r a95b2fa896e9 -r 90da520cbaa5 Makefile --- a/Makefile Sat Aug 06 16:39:37 2022 +0200 +++ b/Makefile Wed Aug 10 16:06:06 2022 +0200 @@ -51,7 +51,7 @@ include $(src)/$(DIST).mk endif -OWN_PROJECTS=beremiz matiec canfestival +OWN_PROJECTS=beremiz matiec canfestival Modbus define get_revision $(1)_revision?=$(lastword $(shell grep $(1) $(src)/revisions.txt)) diff -r a95b2fa896e9 -r 90da520cbaa5 snap/snapcraft.yaml --- a/snap/snapcraft.yaml Sat Aug 06 16:39:37 2022 +0200 +++ b/snap/snapcraft.yaml Wed Aug 10 16:06:06 2022 +0200 @@ -95,6 +95,17 @@ autoreconf -i && ./configure && make cp -a $SNAPCRAFT_PART_BUILD $SNAPCRAFT_PART_INSTALL/matiec + modbus: + plugin: nil + source: Modbus + source-type: local + build-packages: + - build-essential + - automake + override-build: | + make + cp -a $SNAPCRAFT_PART_BUILD $SNAPCRAFT_PART_INSTALL/Modbus + open62541: plugin: nil source: open62541