blob: cac4deb4f2e9931fad7917d3d2ecf5cd1840ca4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=spi-tools
pkgver=0.8.4
pkgrel=0
pkgdesc="simple command line tools to help using Linux spidev devices"
url="https://github.com/cpb-/spi-tools"
arch="all !s390x !ppc64le"
license="GPL-2.0-or-later"
makedepends="autoconf automake linux-headers"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/cpb-/spi-tools/archive/$pkgver.tar.gz"
build() {
autoreconf -fim
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="b508445150c0fb3a7a877dc76e02e3af4cda63baf59a8bf5beb227beb44e92283709c6b68960d2123b954580f78d7001b2d49e2412b1ee5666cc616f47804e6b spi-tools-0.8.4.tar.gz"
|