/[gentoo-x86]/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild
Gentoo

Contents of /net-wireless/rtl-sdr/rtl-sdr-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Aug 11 09:09:08 2012 UTC (22 months, 4 weeks ago) by chithanh
Branch: MAIN
Changes since 1.1: +12 -2 lines
Install udev rules file to documentation directory and notify user of its purpose.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild,v 1.1 2012/04/12 23:40:25 chithanh Exp $
4
5 EAPI=4
6 inherit autotools base git-2
7
8 DESCRIPTION="turns your Realtek RTL2832 based DVB dongle into a SDR receiver"
9 HOMEPAGE="http://sdr.osmocom.org/trac/wiki/rtl-sdr"
10 SRC_URI=""
11 EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS=""
16 IUSE=""
17
18 RDEPEND="virtual/libusb:1"
19 DEPEND="${RDEPEND}"
20
21 DOCS=( ${PN}.rules )
22
23 src_prepare() {
24 eautoreconf
25 }
26
27 pkg_postinst() {
28 local rulesfiles=( "${EPREFIX}"/etc/udev/rules.d/*${PN}.rules )
29 if [[ ! -f ${rulesfiles} ]]; then
30 elog "In order to allow users outside the usb group to capture samples, install"
31 elog "${PN}.rules from the documentation directory to ${EPREFIX}/etc/udev/rules.d/"
32 fi
33 }

  ViewVC Help
Powered by ViewVC 1.1.20