Skip to content

Commit 43d1661

Browse files
Merge pull request #13 from NikolasK-source/main
Release 0.2.4
2 parents aeca250 + 2ee94a0 commit 43d1661

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

docs/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ modbus-rtu-client-shm -d /dev/ttyS0 -i 1 --rs232
5252
```
5353
## Install
5454

55+
### Using the Arch User Repository (recommended for Arch based Linux distributions)
56+
The application is available as [modbus-rtu-client-shm](https://aur.archlinux.org/packages/modbus-rtu-client-shm) in the [Arch User Repository](https://aur.archlinux.org/).
57+
See the [Arch Wiki](https://wiki.archlinux.org/title/Arch_User_Repository) for information about how to install AUR packages.
58+
59+
5560
### Using the Modbus Collection Flapak Package: Shared Memory Modbus (recommended)
5661
[SHM-Modbus](https://nikolask-source.github.io/SHM_Modbus/) is a collection of the shared memory modbus tools.
5762
It is available as flatpak and published on flathub as ```network.koesling.shm-modbs```.

modbus.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ ExternalProject_Add(
1616
libmodbus
1717
PREFIX ${MODBUS_BIN}
1818
SOURCE_DIR ${MODBUS_DIR}
19-
DOWNLOAD_COMMAND cd ${MODBUS_DIR} && git clean -dfX && ${MODBUS_DIR}/autogen.sh
20-
CONFIGURE_COMMAND ${MODBUS_DIR}/configure --srcdir=${MODBUS_DIR} --prefix=${MODBUS_BIN} --enable-static=yes --disable-shared
21-
BUILD_COMMAND make
22-
INSTALL_COMMAND make install
19+
DOWNLOAD_COMMAND cd ${MODBUS_DIR} && git clean -dfX
20+
CONFIGURE_COMMAND cd ${MODBUS_DIR} && git clean -dfX && ${MODBUS_DIR}/autogen.sh && ${MODBUS_DIR}/configure --srcdir=${MODBUS_DIR} --prefix=${MODBUS_BIN} --enable-static=yes --disable-shared
21+
BUILD_COMMAND cd ${MODBUS_DIR} && make
22+
INSTALL_COMMAND cd ${MODBUS_DIR} && make install
2323
BUILD_BYPRODUCTS ${MODBUS_STATIC_LIB}
2424
)
2525

0 commit comments

Comments
 (0)