diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2012-08-11 09:09:08 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2012-08-11 09:09:08 +0000 |
commit | c7aeccab5e24844bc17c27966d35a8581150c0a3 (patch) | |
tree | 4f356bd3ca38c64e01250c0bd35f9476ed704814 /net-wireless | |
parent | Try to bond together odk and doxygen to avoid issues wrt bug#430878. (diff) | |
download | gentoo-2-c7aeccab5e24844bc17c27966d35a8581150c0a3.tar.gz gentoo-2-c7aeccab5e24844bc17c27966d35a8581150c0a3.tar.bz2 gentoo-2-c7aeccab5e24844bc17c27966d35a8581150c0a3.zip |
Install udev rules file to documentation directory and notify user of its purpose.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/rtl-sdr/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/rtl-sdr-9999.ebuild | 14 |
2 files changed, 18 insertions, 3 deletions
diff --git a/net-wireless/rtl-sdr/ChangeLog b/net-wireless/rtl-sdr/ChangeLog index efd25b667465..a4047a0de2c0 100644 --- a/net-wireless/rtl-sdr/ChangeLog +++ b/net-wireless/rtl-sdr/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/rtl-sdr # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/ChangeLog,v 1.2 2012/07/05 21:39:50 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/ChangeLog,v 1.3 2012/08/11 09:09:08 chithanh Exp $ + + 11 Aug 2012; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + rtl-sdr-9999.ebuild: + Install udev rules file to documentation directory and notify user of its + purpose. 05 Jul 2012; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> metadata.xml: Assign maintainership to radio herd. diff --git a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild index a63d730c3147..9c5c9f3d0c13 100644 --- a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild +++ b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild,v 1.1 2012/04/12 23:40:25 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild,v 1.2 2012/08/11 09:09:08 chithanh Exp $ EAPI=4 -inherit autotools git-2 +inherit autotools base git-2 DESCRIPTION="turns your Realtek RTL2832 based DVB dongle into a SDR receiver" HOMEPAGE="http://sdr.osmocom.org/trac/wiki/rtl-sdr" @@ -18,6 +18,16 @@ IUSE="" RDEPEND="virtual/libusb:1" DEPEND="${RDEPEND}" +DOCS=( ${PN}.rules ) + src_prepare() { eautoreconf } + +pkg_postinst() { + local rulesfiles=( "${EPREFIX}"/etc/udev/rules.d/*${PN}.rules ) + if [[ ! -f ${rulesfiles} ]]; then + elog "In order to allow users outside the usb group to capture samples, install" + elog "${PN}.rules from the documentation directory to ${EPREFIX}/etc/udev/rules.d/" + fi +} |