# Contributor: Oz Tiram # Maintainer: Oz Tiram setvar pkgname = 'libmodbus' setvar pkgver = '3.1.4' setvar pkgrel = '0' setvar pkgdesc = ""Modbus library which supports RTU communication over a serial line or a TCP link"" setvar url = ""http://libmodbus.org/"" setvar source = ""http://libmodbus.org/releases/$pkgname-$pkgver.tar.gz"" setvar arch = ""all"" setvar license = ""LGPL-3"" setvar depends = """" setvar makedepends = ""linux-headers"" setvar install = """" setvar subpackages = ""$pkgname-dev $pkgname-doc"" setvar builddir = ""$srcdir/$pkgname-$pkgver"" proc build { cd $builddir ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 } setvar md5sums = ""b1a8fd3a40d2db4de51fb0cbcb201806 libmodbus-3.1.4.tar.gz"" setvar sha256sums = ""c8c862b0e9a7ba699a49bc98f62bdffdfafd53a5716c0e162696b4bf108d3637 libmodbus-3.1.4.tar.gz"" setvar sha512sums = ""63f73894b27704f5e5b3ca0a364cc366c5b5d24903bb24384155890cf06c0f8e5c707a435a38129402ff6628ef3d611dd0db82f840b79cf1d205ebed2ac5681c libmodbus-3.1.4.tar.gz""