aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarian Buschsieweke <marian.buschsieweke@ovgu.de>2020-11-24 16:36:06 +0100
committerMilan P. Stanić <mps@arvanta.net>2021-04-02 15:56:11 +0000
commit2212e058522fc5db284d90895dfff9c45d9df530 (patch)
tree4fa86dc4dd6dde5f860ebd6b450dfc6f9f4087e3
parente14054d7d450cd8c22469766f96c775c5bc03689 (diff)
downloadaports-2212e058522fc5db284d90895dfff9c45d9df530.tar.gz
aports-2212e058522fc5db284d90895dfff9c45d9df530.tar.bz2
aports-2212e058522fc5db284d90895dfff9c45d9df530.tar.xz
testing/rtl-power-fftw: new aport
A program that obtains a power spectrum from RTL devices using FFTW https://github.com/AD-Vega/rtl-power-fftw
-rw-r--r--testing/rtl-power-fftw/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/rtl-power-fftw/APKBUILD b/testing/rtl-power-fftw/APKBUILD
new file mode 100644
index 0000000000..8726a35f75
--- /dev/null
+++ b/testing/rtl-power-fftw/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
+# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
+pkgname=rtl-power-fftw
+pkgver=20200601
+_commit="cee9a22207ea995bd12adbc6bcfbec92521548b1"
+pkgrel=0
+pkgdesc="A program that obtains a power spectrum from RTL devices using FFTW"
+url="https://github.com/AD-Vega/rtl-power-fftw"
+arch="all"
+license="GPL-3.0-only"
+makedepends="
+ cmake
+ fftw-dev
+ libusb-dev
+ librtlsdr-dev
+ tclap-dev
+ "
+source="$pkgname-$pkgver.tar.gz::https://github.com/AD-Vega/rtl-power-fftw/archive/$_commit.tar.gz"
+subpackages="$pkgname-doc"
+options="!check" # no tests provided
+builddir="$srcdir/$pkgname-$_commit"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -Wno-dev
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+
+sha512sums="1d7db0df54b84a38bf8024558b42657a00f6432912ea1d4312d8c83fc0147f3a912df529e16db63dedc07518161cd9c7b96c969c53dde374a1b270d15e721189 rtl-power-fftw-20200601.tar.gz"