summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2014-04-29 01:21:55 +0000
committerJason A. Donenfeld <zx2c4@gentoo.org>2014-04-29 01:21:55 +0000
commit032f0d2b1402dea4b428f4ba7c5f7df20b5c5e4a (patch)
tree7205170c5f6f73e434fa53e3e16e9027e758e142 /net-wireless
parentVersion bump to 1.8.1. (diff)
downloadgentoo-2-032f0d2b1402dea4b428f4ba7c5f7df20b5c5e4a.tar.gz
gentoo-2-032f0d2b1402dea4b428f4ba7c5f7df20b5c5e4a.tar.bz2
gentoo-2-032f0d2b1402dea4b428f4ba7c5f7df20b5c5e4a.zip
Initial import.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/osmocom-bb/ChangeLog9
-rw-r--r--net-wireless/osmocom-bb/metadata.xml9
-rw-r--r--net-wireless/osmocom-bb/osmocom-bb-9999.ebuild46
3 files changed, 64 insertions, 0 deletions
diff --git a/net-wireless/osmocom-bb/ChangeLog b/net-wireless/osmocom-bb/ChangeLog
new file mode 100644
index 000000000000..98f6b050bfda
--- /dev/null
+++ b/net-wireless/osmocom-bb/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-wireless/osmocom-bb
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/osmocom-bb/ChangeLog,v 1.1 2014/04/29 01:21:55 zx2c4 Exp $
+
+*osmocom-bb-9999 (29 Apr 2014)
+
+ 29 Apr 2014; Jason A. Donenfeld <zx2c4@gentoo.org> +metadata.xml,
+ +osmocom-bb-9999.ebuild:
+ Initial import.
diff --git a/net-wireless/osmocom-bb/metadata.xml b/net-wireless/osmocom-bb/metadata.xml
new file mode 100644
index 000000000000..27f6a806d767
--- /dev/null
+++ b/net-wireless/osmocom-bb/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>radio</herd>
+ <use>
+ <flag name="transmit">Enable transmission capabilities.</flag>
+ </use>
+</pkgmetadata>
+
diff --git a/net-wireless/osmocom-bb/osmocom-bb-9999.ebuild b/net-wireless/osmocom-bb/osmocom-bb-9999.ebuild
new file mode 100644
index 000000000000..ef5bb7ba04db
--- /dev/null
+++ b/net-wireless/osmocom-bb/osmocom-bb-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/osmocom-bb/osmocom-bb-9999.ebuild,v 1.1 2014/04/29 01:21:55 zx2c4 Exp $
+
+EAPI=5
+
+inherit git-2 autotools flag-o-matic
+
+DESCRIPTION="OsmocomBB MS-side GSM Protocol stack (L1, L2, L3) excluding firmware"
+HOMEPAGE="http://bb.osmocom.org"
+EGIT_REPO_URI="git://git.osmocom.org/osmocom-bb.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="+transmit"
+
+DEPEND="net-libs/libosmocore"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ use transmit && append-cflags "-DCONFIG_TX_ENABLE"
+
+ cd src/host/osmocon && eautoreconf && cd ../../.. || die
+ cd src/host/gsmmap && eautoreconf && cd ../../.. || die
+ cd src/host/layer23 && eautoreconf && cd ../../.. || die
+}
+
+src_configure() {
+ cd src/host/osmocon && econf && cd ../../.. || die
+ cd src/host/gsmmap && econf && cd ../../.. || die
+ cd src/host/layer23 && econf && cd ../../.. || die
+}
+
+src_compile() {
+ cd src/host/osmocon && emake && cd ../../.. || die
+ cd src/host/gsmmap && emake && cd ../../.. || die
+ cd src/host/layer23 && emake && cd ../../.. || die
+
+}
+
+src_install() {
+ cd src/host/osmocon && emake install DESTDIR="${D}" && cd ../../.. || die
+ cd src/host/gsmmap && emake install DESTDIR="${D}" && cd ../../.. || die
+ cd src/host/layer23 && emake install DESTDIR="${D}" && cd ../../.. || die
+}