| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
PYTHON_DEPEND="2"
|
| 7 |
|
| 8 |
inherit autotools git-2 python
|
| 9 |
|
| 10 |
DESCRIPTION="GSM receiver block from the airprobe suite"
|
| 11 |
HOMEPAGE="https://svn.berlin.ccc.de/projects/airprobe/"
|
| 12 |
SRC_URI=""
|
| 13 |
|
| 14 |
LICENSE="GPL-3"
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS=""
|
| 17 |
IUSE=""
|
| 18 |
|
| 19 |
RDEPEND="net-libs/libosmocore
|
| 20 |
net-wireless/gnuradio"
|
| 21 |
DEPEND="${RDEPEND}
|
| 22 |
virtual/pkgconfig"
|
| 23 |
|
| 24 |
EGIT_REPO_URI="git://git.gnumonks.org/airprobe.git"
|
| 25 |
EGIT_SOURCEDIR="${S}"
|
| 26 |
S+=/${PN}
|
| 27 |
|
| 28 |
pkg_setup() {
|
| 29 |
python_set_active_version 2
|
| 30 |
python_pkg_setup
|
| 31 |
}
|
| 32 |
|
| 33 |
src_prepare() {
|
| 34 |
python_convert_shebangs -q -r 2 "${S}"
|
| 35 |
eautoreconf
|
| 36 |
}
|
| 37 |
|
| 38 |
src_configure() {
|
| 39 |
# fails to create .deps directory without dependency tracking
|
| 40 |
econf --enable-dependency-tracking
|
| 41 |
}
|
| 42 |
|
| 43 |
src_install() {
|
| 44 |
default
|
| 45 |
|
| 46 |
dobin src/python/*.py
|
| 47 |
insinto /usr/share/doc/${PF}/examples
|
| 48 |
doins src/python/{cfile,*.sh}
|
| 49 |
}
|