summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2016-09-02 10:18:11 -0600
committerJason A. Donenfeld <zx2c4@gentoo.org>2016-09-02 10:59:43 -0600
commit8db1fc902d345f1cb9280935e2239dd4d9a6fecf (patch)
tree37023c873f4b0bdb8da2050a090108881fb65ea8 /net-wireless/osmobts
parentnet-p2p/soulseek-qt: version bump (diff)
downloadgentoo-8db1fc902d345f1cb9280935e2239dd4d9a6fecf.tar.gz
gentoo-8db1fc902d345f1cb9280935e2239dd4d9a6fecf.tar.bz2
gentoo-8db1fc902d345f1cb9280935e2239dd4d9a6fecf.zip
net-wireless/osmocom: modernize
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-wireless/osmobts')
-rw-r--r--net-wireless/osmobts/osmobts-9999.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/net-wireless/osmobts/osmobts-9999.ebuild b/net-wireless/osmobts/osmobts-9999.ebuild
index 7f7a4e9eeb8..40f564bb172 100644
--- a/net-wireless/osmobts/osmobts-9999.ebuild
+++ b/net-wireless/osmobts/osmobts-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -9,7 +9,6 @@ inherit autotools git-2
DESCRIPTION="Osmocom BTS-Side code (Abis, scheduling)"
HOMEPAGE="http://openbsc.osmocom.org/trac/wiki/OsmoBTS"
EGIT_REPO_URI="git://git.osmocom.org/osmo-bts.git"
-EGIT_BRANCH="jolly/trx"
LICENSE="GPL-2"
SLOT="0"
@@ -20,12 +19,12 @@ DEPEND="net-libs/libosmocore net-libs/libosmo-abis"
RDEPEND="${DEPEND}"
src_prepare() {
- mkdir -p ../openbsc/openbsc/include/openbsc ../openbsc/openbsc/src/libcommon/ || die
- wget -O ../openbsc/openbsc/include/openbsc/gsm_data_shared.h http://cgit.osmocom.org/openbsc/plain/openbsc/include/openbsc/gsm_data_shared.h?h=jolly/testing || die
- wget -O ../openbsc/openbsc/src/libcommon/gsm_data_shared.c http://cgit.osmocom.org/openbsc/plain/openbsc/src/libcommon/gsm_data_shared.c?h=jolly/testing || die
eautoreconf
+ wget -O "${S}"/include/openbsc/gsm_data_shared.h http://cgit.osmocom.org/openbsc/plain/openbsc/include/openbsc/gsm_data_shared.h || die
+ wget -O "${S}"/src/common/gsm_data_shared.c http://cgit.osmocom.org/openbsc/plain/openbsc/src/libcommon/gsm_data_shared.c || die
+
}
src_configure() {
- econf --enable-trx
+ econf --enable-trx --with-openbsc="${S}"/include/openbsc
}