aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarian Buschsieweke <marian.buschsieweke@ovgu.de>2020-11-21 23:07:56 +0100
committerKevin Daudt <kdaudt@alpinelinux.org>2020-11-23 19:16:28 +0000
commit70740b73afaf5a8fe98dd6a3bee0298c301315c7 (patch)
tree814deb5ed576400481da17c480b9ec5ef1fea9ce
parent502c3e2315e994f5505594ca97bbfe52f613e255 (diff)
downloadaports-70740b73afaf5a8fe98dd6a3bee0298c301315c7.tar.gz
aports-70740b73afaf5a8fe98dd6a3bee0298c301315c7.tar.bz2
aports-70740b73afaf5a8fe98dd6a3bee0298c301315c7.tar.xz
testing/soapy-sdr: new aport
Soapy SDR - vendor and platform neutral SDR support library https://github.com/pothosware/SoapySDR
-rw-r--r--testing/soapy-sdr/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/soapy-sdr/APKBUILD b/testing/soapy-sdr/APKBUILD
new file mode 100644
index 0000000000..43437d3e6f
--- /dev/null
+++ b/testing/soapy-sdr/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
+# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
+pkgname=soapy-sdr
+pkgver=0.7.2
+pkgrel=0
+pkgdesc="Soapy SDR - vendor and platform neutral SDR support library"
+url="https://github.com/pothosware/SoapySDR"
+arch="all"
+license="BSL-1.0"
+makedepends="cmake python3-dev swig"
+subpackages="$pkgname-dev $pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/pothosware/SoapySDR/archive/soapy-sdr-$pkgver.tar.gz"
+builddir="$srcdir/SoapySDR-soapy-sdr-$pkgver"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ cmake --build build
+}
+
+check() {
+ cmake --build build --target test
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+
+sha512sums="2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371 soapy-sdr-0.7.2.tar.gz"