diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2007-03-02 18:18:30 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2007-03-02 18:18:30 +0000 |
commit | dc98e19ac881b3b881f8a52591962400cc2741d7 (patch) | |
tree | 870d956fe62cd9f48e23b05572bc2e30e5bc1b66 /media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild | |
parent | Stable on ppc wrt bug 168849 (diff) | |
download | gentoo-2-dc98e19ac881b3b881f8a52591962400cc2741d7.tar.gz gentoo-2-dc98e19ac881b3b881f8a52591962400cc2741d7.tar.bz2 gentoo-2-dc98e19ac881b3b881f8a52591962400cc2741d7.zip |
stabel on x86; new -r1 version will add user 'vdr' to group 'uucp' for full access to device ttyS*
(Portage version: 2.1.2-r9)
Diffstat (limited to 'media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild')
-rw-r--r-- | media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild b/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild new file mode 100644 index 000000000000..410d40ee2400 --- /dev/null +++ b/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild,v 1.1 2007/03/02 18:18:30 hd_brummy Exp $ + +inherit vdr-plugin + +DESCRIPTION="VDR Plugin: attach some buttons with diodes to the serial port" +HOMEPAGE="http://www.lf-klueber.de/vdr.htm" +SRC_URI="http://www.lf-klueber.de/${P}.tgz + mirror://vdrfiles/${PN}/${P}.tgz" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.2.6" + +pkg_setup() { + vdr-plugin_pkg_setup + + if ! getent group uucp | grep -q vdr; then + echo + einfo "Add user 'vdr' to group 'uucp' for full user access to serial/ttyS* device" + echo + elog "User vdr added to group uucp" + gpasswd -a vdr uucp + fi +} |