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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 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 $ 3# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild,v 1.2 2012/08/11 09:09:08 chithanh Exp $
4 4
5EAPI=4 5EAPI=4
6inherit autotools git-2 6inherit autotools base git-2
7 7
8DESCRIPTION="turns your Realtek RTL2832 based DVB dongle into a SDR receiver" 8DESCRIPTION="turns your Realtek RTL2832 based DVB dongle into a SDR receiver"
9HOMEPAGE="http://sdr.osmocom.org/trac/wiki/rtl-sdr" 9HOMEPAGE="http://sdr.osmocom.org/trac/wiki/rtl-sdr"
10SRC_URI="" 10SRC_URI=""
11EGIT_REPO_URI="git://git.osmocom.org/${PN}.git" 11EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
16IUSE="" 16IUSE=""
17 17
18RDEPEND="virtual/libusb:1" 18RDEPEND="virtual/libusb:1"
19DEPEND="${RDEPEND}" 19DEPEND="${RDEPEND}"
20 20
21DOCS=( ${PN}.rules )
22
21src_prepare() { 23src_prepare() {
22 eautoreconf 24 eautoreconf
23} 25}
26
27pkg_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}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20