blob: e0d3c4a9233407d6bf778c7b79a44351a36152c9 (
plain)
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
38
39
40
41
|
# Maintainer: Robert Falkenberg <robert.falkenberg@tu-dortmund.de>
pkgbase=srslte-falcon-patch-git
pkgname=$pkgbase
_pkgname=srsLTE
pkgver=0.1.r4.g05747bc40
pkgrel=1
pkgdesc='Open source SDR LTE software suite from Software Radio Systems (SRS) - patched for FALCON'
arch=('x86_64')
url='https://github.com/falkenber9/srsLTE'
license=('AGPL3')
depends=('fftw' 'mbedtls' 'boost-libs' 'lksctp-tools' 'libconfig'
'libuhd3' 'soapysdr' 'bladerf' 'zeromq' 'pcsclite' 'srsgui')
optdepends=('libuhd-firmware3')
makedepends=('git' 'cmake' 'boost')
provides=('srslte-falcon-patch' 'srslte=18.09.0' 'srsue' 'srsenb' 'srsenb')
conflicts=('srslte-falcon-patch' 'srslte' 'srsue' 'srsenb' 'srsenb')
source=("git+https://github.com/falkenber9/srsLTE.git#branch=falcon-dev")
sha512sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/^\(falcon_v\)\1*//'
}
build() {
echo 'Building srslte...'
cmake .. \
-B "build" \
-S "${_pkgname}" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_GENERIC=True
make -C "build" -j 4
}
package() {
make -C "build" DESTDIR="$pkgdir" install
}
|