summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2015-09-23 17:43:20 -0400
committerZero_Chaos <zerochaos@gentoo.org>2015-09-23 17:43:20 -0400
commitbe493a452454070dc4799ed297cf218de9442f1e (patch)
tree6f0f4574486cf1d78387fb32bbb02810438db334 /net-wireless
parentnet-voip/yate: update shebang for init script (diff)
downloadgentoo-be493a452454070dc4799ed297cf218de9442f1e.tar.gz
gentoo-be493a452454070dc4799ed297cf218de9442f1e.tar.bz2
gentoo-be493a452454070dc4799ed297cf218de9442f1e.zip
net-wireless/yatebts: really weak version bump to 5.0.0, needs more love than I have time for right now but it works
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/yatebts/Manifest1
-rw-r--r--net-wireless/yatebts/yatebts-5.0.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/net-wireless/yatebts/Manifest b/net-wireless/yatebts/Manifest
index cfff16a6745..df38b5564d4 100644
--- a/net-wireless/yatebts/Manifest
+++ b/net-wireless/yatebts/Manifest
@@ -1 +1,2 @@
DIST yate-bts-4.0.0-1.tar.gz 3311644 SHA256 0cf40839e81e1600b3bd7a184404249cca387d9a7413dda1db02f92d3b501c31 SHA512 802e765fb5dd1702b71c6e7a68f671dcfb82431d7c6defc4fea1494558b8824c0a4b61dc9b7b787bc8badf09752b12efb531d7435d6d32db60edd96fe32f850d WHIRLPOOL 67b983de759b0cf87ded1673c2fe41fef6f10ccb0848a5816cb37c9f20c48c6e11667f4098469d8b381a5e9a50d00c623d494d623227f879e0bf32e11bd447d3
+DIST yate-bts-5.0.0-1.tar.gz 3352942 SHA256 02d6b883f1c65a44f377d678ca56ec1b46a85672779589b184597d64553da8f8 SHA512 d893072f715f77dfe53e2d0a4332a02ffa441afb995a7280201d4ffb509b51d16888c961d753517f471915efdf03ec329707cd9d54f8bde6ecb9b2405d602939 WHIRLPOOL 56d01ec0fa60cb0a16c8ffff35e1ff5d0eb91c94889ee1427b1768f1779b3cbe9252085b38e98befbb5958d5b746ec6fd46ead8f74bc7b185c8c557fd5b6e3d0
diff --git a/net-wireless/yatebts/yatebts-5.0.0.ebuild b/net-wireless/yatebts/yatebts-5.0.0.ebuild
new file mode 100644
index 00000000000..7e0a85027fd
--- /dev/null
+++ b/net-wireless/yatebts/yatebts-5.0.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1"
+
+RDEPEND="
+ =net-voip/yate-5.5.0-r1:=[gsm]
+ bladerf? ( net-wireless/bladerf:= )
+ 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}5/yate-bts-${PV}-1.tar.gz"
+ S="${WORKDIR}/yate-bts"
+fi
+
+src_prepare() {
+ #epatch "${FILESDIR}"/${PN}-4.0.0-dont-mess-with-cflags.patch
+ epatch "${FILESDIR}"/${PN}-sgsnggsn-inetutils-hostname-fix.diff
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable rad1) \
+ $(use_enable usrp1) \
+ $(use_enable uhd) \
+ $(use_enable bladerf) \
+ $(use_enable cpu_flags_x86_sse3 sse3) \
+ $(use_enable cpu_flags_x86_sse4_1 sse41)
+
+}