diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-05 15:21:59 -0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-05 21:28:45 +0300 |
commit | b376dcaca66f1f200ef3b5515bb615cd7b8aebc9 (patch) | |
tree | 1b7300ae69fc29f3a0dd005654930195a094afd6 /testing/libmodbus | |
parent | 4fef553d7972466db913aba9905c7d61594b822f (diff) | |
download | aports-b376dcaca66f1f200ef3b5515bb615cd7b8aebc9.tar.bz2 aports-b376dcaca66f1f200ef3b5515bb615cd7b8aebc9.tar.xz |
testing/libmodbus: modernize, fix license, fix url
Diffstat (limited to 'testing/libmodbus')
-rw-r--r-- | testing/libmodbus/APKBUILD | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/testing/libmodbus/APKBUILD b/testing/libmodbus/APKBUILD index 3951feeaa1..a95a3425ff 100644 --- a/testing/libmodbus/APKBUILD +++ b/testing/libmodbus/APKBUILD @@ -4,31 +4,27 @@ pkgname=libmodbus pkgver=3.1.4 pkgrel=0 pkgdesc="Modbus library which supports RTU communication over a serial line or a TCP link" -url="http://libmodbus.org/" -source="http://libmodbus.org/releases/$pkgname-$pkgver.tar.gz" - +url="https://libmodbus.org/" +source="https://libmodbus.org/releases/$pkgname-$pkgver.tar.gz" arch="all" -license="LGPL-3.0" -depends="" +license="LGPL-2.1-or-later" makedepends="linux-headers" -install="" subpackages="$pkgname-dev $pkgname-doc" -builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$builddir" ./configure \ --prefix=/usr \ - --sysconfdir=/etc \ + --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info - make || return 1 + make +} + +check() { + make check } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -md5sums="b1a8fd3a40d2db4de51fb0cbcb201806 libmodbus-3.1.4.tar.gz" -sha256sums="c8c862b0e9a7ba699a49bc98f62bdffdfafd53a5716c0e162696b4bf108d3637 libmodbus-3.1.4.tar.gz" sha512sums="63f73894b27704f5e5b3ca0a364cc366c5b5d24903bb24384155890cf06c0f8e5c707a435a38129402ff6628ef3d611dd0db82f840b79cf1d205ebed2ac5681c libmodbus-3.1.4.tar.gz" |