summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-02-08 17:23:51 +0000
committerMichael Weber <xmw@gentoo.org>2013-02-08 17:23:51 +0000
commit7bdc620882d3cda0df8f711ab20866c49bd27dbd (patch)
treebc017c60d85a9b73d11d599537ed515262440d3e /net-wireless/dump1090/dump1090-9999.ebuild
parentadding keywords (bug 456152) (diff)
downloadgentoo-2-7bdc620882d3cda0df8f711ab20866c49bd27dbd.tar.gz
gentoo-2-7bdc620882d3cda0df8f711ab20866c49bd27dbd.tar.bz2
gentoo-2-7bdc620882d3cda0df8f711ab20866c49bd27dbd.zip
Initial import
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'net-wireless/dump1090/dump1090-9999.ebuild')
-rw-r--r--net-wireless/dump1090/dump1090-9999.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-wireless/dump1090/dump1090-9999.ebuild b/net-wireless/dump1090/dump1090-9999.ebuild
new file mode 100644
index 000000000000..9319278cbf4a
--- /dev/null
+++ b/net-wireless/dump1090/dump1090-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/dump1090/dump1090-9999.ebuild,v 1.1 2013/02/08 17:23:51 xmw Exp $
+
+EAPI=5
+
+inherit git-2 toolchain-funcs
+
+DESCRIPTION="simple Mode S decoder for RTLSDR devices"
+HOMEPAGE="https://github.com/antirez/dump1090"
+EGIT_REPO_URI="git://github.com/antirez/dump1090.git"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="net-wireless/rtl-sdr"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ emake CC="$(tc-getCC)" \
+ CFLAGS="$(pkg-config --cflags librtlsdr)" \
+ LIBS="${LDFLAGS} $(pkg-config --libs librtlsdr) -lm -lpthread" \
+ all
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc TODO README.md
+}