aboutsummaryrefslogtreecommitdiffstats
path: root/testing/open-plc-utils
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2019-03-05 19:43:19 +0100
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-11 15:50:59 +0000
commit1878f8ada1fa88b1f7cce99be057acc1a41f9096 (patch)
treed339ca24e70d40a9b758f3be0bd6462e3f86df5d /testing/open-plc-utils
parenteecf0964ca464449d9fba05a93f31c9d61d28f31 (diff)
downloadaports-1878f8ada1fa88b1f7cce99be057acc1a41f9096.tar.gz
aports-1878f8ada1fa88b1f7cce99be057acc1a41f9096.tar.bz2
aports-1878f8ada1fa88b1f7cce99be057acc1a41f9096.tar.xz
testing/open-plc-utils: New aport
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Closes GH-6547
Diffstat (limited to 'testing/open-plc-utils')
-rw-r--r--testing/open-plc-utils/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/open-plc-utils/APKBUILD b/testing/open-plc-utils/APKBUILD
new file mode 100644
index 0000000000..22c16b5ce5
--- /dev/null
+++ b/testing/open-plc-utils/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Olliver Schinagl <oliver@schinagl.nl>
+# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
+pkgname=open-plc-utils
+pkgver="0_git20181025"
+pkgrel=0
+pkgdesc="Qualcomm Atheros Open Powerline Toolkit"
+url="https://github.com/qca/open-plc-utils"
+arch="all"
+license="BSD-3-Clause-Clear"
+options="suid"
+subpackages="$pkgname-doc"
+_githash="32408520fcebe785983a68e39ec83830a3005779"
+source="https://github.com/qca/$pkgname/archive/$_githash.zip"
+builddir="$srcdir/$pkgname-$_githash"
+
+prepare()
+{
+ default_prepare
+
+ sed -i \
+ -e 's|/usr/local/|/usr/|g' \
+ -e 's|/man/man1|/share/man/man1|g' \
+ "make.def"
+}
+
+build()
+{
+ make ROOTFS="$pkgdir"
+}
+
+check()
+{
+ make ROOTFS="$pkgdir" check
+}
+
+package()
+{
+ make ROOTFS="$pkgdir" install manuals
+}
+
+sha512sums="cd011f6e0738093b99873a341d6a0385ff21c99e1c6d51244678b6bb616a0b9b7bdf96a5cfb81200787f5eb2537b3ee344e60fdc56a7be9ace35c39cfc59f614 32408520fcebe785983a68e39ec83830a3005779.zip"