-
Notifications
You must be signed in to change notification settings - Fork 38
/
PKGBUILD
37 lines (34 loc) · 1.31 KB
/
PKGBUILD
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
35
36
37
# Maintainer: Michal Krenek (Mikos) <[email protected]>
pkgname=soapy_power
pkgver=1.6.1
pkgrel=1
pkgdesc="Obtain power spectrum from SoapySDR devices (RTL-SDR, Airspy, SDRplay, HackRF, bladeRF, USRP, LimeSDR, etc.)"
arch=('any')
url="https://github.com/xmikos/soapy_power"
license=('MIT')
depends=('python' 'python-numpy' 'simplesoapy>=1.5.0' 'simplespectral')
makedepends=('python-setuptools')
optdepends=(
'soapyrtlsdr-git: support for RTL-SDR (RTL2832U) dongles'
'soapyairspy-git: support for Airspy R2 and Airspy Mini'
'soapysdrplay-git: support for SDRplay RSP'
'soapyhackrf-git: support for HackRF'
'soapybladerf-git: support for Nuand bladeRF'
'soapyuhd-git: support for Ettus USRP'
'soapylms7-git: support for LimeSDR and other LMS7002M based Myriad RF boards'
'soapyredpitaya-git: support for Red Pitaya'
'soapyosmo-git: support for MiriSDR and RFSpace'
'soapyremote-git: use any SoapySDR device remotely over network'
'python-pyfftw: fastest FFT calculations with FFTW library'
'python-scipy: faster FFT calculations with scipy.fftpack library'
)
source=(https://github.com/xmikos/soapy_power/archive/v$pkgver.tar.gz)
build() {
cd "$srcdir/${pkgname}-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/${pkgname}-$pkgver"
python setup.py install --root="$pkgdir"
}
# vim:set ts=2 sw=2 et: