blob: 9319278cbf4adda986ff45981cffd91e6cf4cae1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}
|