blob: 03db9f10707328d6cc05a40886bce79de1c27e67 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/yatebts/yatebts-9999.ebuild,v 1.3 2014/07/27 21:44:56 zerochaos Exp $
EAPI=5
inherit eutils autotools
DESCRIPTION="The Yate GSM base station"
HOMEPAGE="http://www.yatebts.com/"
ESVN_REPO_URI="http://voip.null.ro/svn/yatebts/trunk"
LICENSE="GPL-2"
SLOT="0"
IUSE="rad1 usrp1 uhd bladerf sse3 sse4_1"
RDEPEND="
>=net-voip/yate-5.4.0[gsm]
uhd? ( net-wireless/uhd )
virtual/libusb:1"
DEPEND="virtual/pkgconfig
${RDEPEND}"
if [[ ${PV} == "9999" ]] ; then
inherit subversion
KEYWORDS=""
else
KEYWORDS="~amd64 ~arm ~x86"
SRC_URI="http://yate.null.ro/tarballs/${PN}4/yate-bts-${PV}-1.tar.gz"
S="${WORKDIR}/yate-bts"
fi
src_prepare() {
#we need more patches or configure flags because things install in really wrong places per FHS
#this prevents build failure, but does not actually pass QA checks
epatch "${FILESDIR}"/${PN}-4.0.0-dont-mess-with-cflags.patch
eautoreconf
}
src_configure() {
econf \
$(use_enable rad1) \
$(use_enable usrp1) \
$(use_enable uhd) \
$(use_enable bladerf) \
$(use_enable sse3) \
$(use_enable sse4_1 sse41)
}
|