aboutsummaryrefslogtreecommitdiffstats
path: root/testing/spi-tools
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-04-11 00:35:17 +0200
committerMilan P. Stanić <mps@arvanta.net>2020-04-14 17:52:58 +0200
commit28faee3103f1e6745fdd619b86eedd2d9c5516de (patch)
treef5001e9aa2424d4b0a391c798e83184dc6f6dbab /testing/spi-tools
parent457e93dbbe8b4edd5054689ed1c2d320fe967ddf (diff)
downloadaports-28faee3103f1e6745fdd619b86eedd2d9c5516de.tar.bz2
aports-28faee3103f1e6745fdd619b86eedd2d9c5516de.tar.xz
testing/spi-tools: new aport
https://github.com/cpb-/spi-tools simple command line tools to help using Linux spidev devices
Diffstat (limited to 'testing/spi-tools')
-rw-r--r--testing/spi-tools/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/spi-tools/APKBUILD b/testing/spi-tools/APKBUILD
new file mode 100644
index 0000000000..815b8e2265
--- /dev/null
+++ b/testing/spi-tools/APKBUILD
@@ -0,0 +1,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-header"
+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 pkgname-0.8.4.tar.gz"