summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2012-08-12 18:44:18 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2012-08-12 18:44:18 +0000
commit442b07cdac086d8c3734b2613b74945185f54eb7 (patch)
tree253c92c6ed42e4bdba13f42e006736ae9ab3d3c0 /net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild
parentUse patch instead of sed for the udevdir wrt #430900, Comment #9 by Nikolay S... (diff)
downloadgentoo-2-442b07cdac086d8c3734b2613b74945185f54eb7.tar.gz
gentoo-2-442b07cdac086d8c3734b2613b74945185f54eb7.tar.bz2
gentoo-2-442b07cdac086d8c3734b2613b74945185f54eb7.zip
Initial commit, ebuild by me. Thanks to zerochaos for testing.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild')
-rw-r--r--net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild b/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild
new file mode 100644
index 000000000000..2b725f46f8c2
--- /dev/null
+++ b/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 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.1 2012/08/12 18:44:18 chithanh Exp $
+
+EAPI=4
+PYTHON_DEPEND="2"
+
+inherit autotools git-2 python
+
+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"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+EGIT_REPO_URI="git://git.gnumonks.org/airprobe.git"
+EGIT_SOURCEDIR="${S}"
+S+=/${PN}
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ python_convert_shebangs -q -r 2 "${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/{cfile,*.sh}
+}