From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-wireless/osmocom-bb/Manifest | 4 +++ net-wireless/osmocom-bb/metadata.xml | 11 +++++++ net-wireless/osmocom-bb/osmocom-bb-9999.ebuild | 45 ++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 net-wireless/osmocom-bb/Manifest create mode 100644 net-wireless/osmocom-bb/metadata.xml create mode 100644 net-wireless/osmocom-bb/osmocom-bb-9999.ebuild (limited to 'net-wireless/osmocom-bb') diff --git a/net-wireless/osmocom-bb/Manifest b/net-wireless/osmocom-bb/Manifest new file mode 100644 index 000000000000..813d6a8ff159 --- /dev/null +++ b/net-wireless/osmocom-bb/Manifest @@ -0,0 +1,4 @@ +EBUILD osmocom-bb-9999.ebuild 1268 SHA256 2a9b4673180334e41480bc58894bee383880d5702cb66d54446c77f76c050905 SHA512 b4b6263953ae779cd98eb2645c0f7b4f0160ef665fdccbc04453fcd9f698ddce7442ca2cb08ae36d1a09d932d924a5c52025dab82e8c0cfac0fda3f8fce8d6bd WHIRLPOOL 217ff14ccde4d94e25cdb056f30b7c34f7eddf3dfe23b5016400adc9bec347f260d61ab3081ce3a5f37edb6e04f3db46df68fe0347a89d4d0a385ad14e3b878b +MISC ChangeLog 2831 SHA256 c10526dff8982e93f8bebb162acb72286ec14247c4ef35fe400784760b7a658f SHA512 2906c01c97f48c9f7ca676932446d4ef873aec35aec4bacd6a899e52166148dbefa7464e21e0dbb7d196130311d5ef2f81de1b912ca9f26e1581a16a65bb4233 WHIRLPOOL 8348bf397236690b411bac8155da09c9afb90190f75e6c288cb1fe5abb69a4828c9ea4122f1f3fcabfe7644a97f4a1bcf3654fe9227c43670582a8382e48178f +MISC ChangeLog-2015 363 SHA256 a9f02e41d09819d49fc29dc0d59f113367309b9e16386431dd3c0b20a8fff78e SHA512 687f9d2e3ba78618724ff13762da53720212ec0afff3e277642e82bc22a40a171dc46b4b408ac26a8b872aca0eea70687d7cd41fc277efdab4d438155d09b16e WHIRLPOOL 64cbfbfdb43d63522a682b4dff64d0a2079b832fbc520c30b1e7e7d9b24441c96e8c5da00cf4187b1158d8a01eb264716f0f14709768ce6d9ee29aad1f8c1e03 +MISC metadata.xml 318 SHA256 c7a8e09a03c0e87fc027d5ce3b2d7714ab5e3005ebc6f7a20682193ca56cd074 SHA512 e4f59e33a6c647e67c1ac74f8d9b8cf1be9283162e838bea486c59ba312c9ce44c81103ce05d90592a831c03516aa0a6532c83a4c71761db32c68def4c20a301 WHIRLPOOL 35dc876c7a5000a2ec6d10e3583c302853f5e3a9d3e0c8f5d7339721900ccaff319c1c76a92b8064dab0d673467319c17bcb88f67d7b1cc19789bbddacc62fcc diff --git a/net-wireless/osmocom-bb/metadata.xml b/net-wireless/osmocom-bb/metadata.xml new file mode 100644 index 000000000000..ca60be1c4b8d --- /dev/null +++ b/net-wireless/osmocom-bb/metadata.xml @@ -0,0 +1,11 @@ + + + + + radio@gentoo.org + Radio + + + Enable transmission capabilities. + + 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..e8413a907551 --- /dev/null +++ b/net-wireless/osmocom-bb/osmocom-bb-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} -- cgit v1.2.3