45 lines
1 KiB
Bash
45 lines
1 KiB
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild,v 1.5 2014/02/05 02:47:25 chithanh Exp $
|
|
|
|
EAPI=5
|
|
PYTHON_COMPAT=( python{2_6,2_7} )
|
|
|
|
inherit autotools git-2 python-single-r1
|
|
|
|
DESCRIPTION="GSM receiver block from the airprobe suite"
|
|
HOMEPAGE="https://svn.berlin.ccc.de/projects/airprobe/"
|
|
SRC_URI=""
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
IUSE=""
|
|
|
|
RDEPEND="net-libs/libosmocore
|
|
>=net-wireless/gnuradio-3.7_rc:0="
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
EGIT_REPO_URI="git://git.gnumonks.org/airprobe.git"
|
|
EGIT_SOURCEDIR="${S}"
|
|
S+=/${PN}
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/0001-${PN}-build-against-gnuradio-3.7.patch
|
|
python_fix_shebang "${S}"
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
# fails to create .deps directory without dependency tracking
|
|
econf --enable-dependency-tracking
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
dobin src/python/*.py
|
|
insinto /usr/share/doc/${PF}/examples
|
|
doins src/python/*.sh
|
|
}
|