mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-16 22:22:12 +01:00
31 lines
788 B
Plaintext
31 lines
788 B
Plaintext
# Contributor: Oz Tiram <oz.tiram@gmail.com>
|
|
# Maintainer: Oz Tiram <oz.tiram@gmail.com>
|
|
pkgname=libmodbus
|
|
pkgver=3.1.4
|
|
pkgrel=0
|
|
pkgdesc="Modbus library which supports RTU communication over a serial line or a TCP link"
|
|
url="https://libmodbus.org/"
|
|
source="https://libmodbus.org/releases/$pkgname-$pkgver.tar.gz"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="linux-headers"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="63f73894b27704f5e5b3ca0a364cc366c5b5d24903bb24384155890cf06c0f8e5c707a435a38129402ff6628ef3d611dd0db82f840b79cf1d205ebed2ac5681c libmodbus-3.1.4.tar.gz"
|