blob: 716f0d91ab4cc4abf49a73bd41ec9bfcc653a837 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
PYTHON_DEPEND="2"
inherit subversion autotools python
DESCRIPTION="software-defined analyzer for APCO P25 signals"
HOMEPAGE="http://op25.osmocom.org/wiki"
ESVN_REPO_URI="http://op25.osmocom.org/svn/trunk"
LICENSE="GPL"
SLOT="0"
KEYWORDS="-*"
IUSE=""
DEPEND="net-wireless/gnuradio
sci-libs/itpp
dev-libs/boost
net-libs/libpcap"
RDEPEND="${DEPEND}"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
cd "${S}"/blocks
#eautoreconf
./bootstrap
cd "${S}"/imbe_vocoder
#eautoreconf
./bootstrap
cd "${S}"/repeater
#eautoreconf
./bootstrap
}
src_configure() {
cd "${S}"/blocks
econf
cd "${S}"/imbe_vocoder
econf
cd "${S}"/repeater
econf
}
src_compile() {
cd "${S}"/blocks
sed -i 's#-I$(GNURADIO_CORE_INCLUDEDIR)/swig#-I$(GNURADIO_CORE_INCLUDEDIR)/swig -I$(includedir)/gruel/swig#' Makefile.common
emake
cd "${S}"/imbe_vocoder
emake
cd "${S}"/repeater
sed -i 's#-I$(GNURADIO_CORE_INCLUDEDIR)/swig#-I$(GNURADIO_CORE_INCLUDEDIR)/swig -I$(includedir)/gruel/swig#' Makefile.common
emake
}
src_install() {
cd "${S}"/blocks
emake DESTDIR="${ED}" install
cd "${S}"/imbe_vocoder
emake DESTDIR="${ED}" install
cd "${S}"/repeater
emake DESTDIR="${ED}" install
}
|