/[gentoo-x86]/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild
Gentoo

Contents of /media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Dec 13 22:56:23 2011 UTC (2 years, 8 months ago) by ago
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable for AMD64, wrt bug #392865

(Portage version: 2.1.10.39/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild,v 1.4 2011/12/11 09:09:46 phajdan.jr Exp $
4
5 inherit vdr-plugin
6
7 DESCRIPTION="VDR Plugin: attach some buttons with diodes to the serial port"
8 HOMEPAGE="http://www.lf-klueber.de/vdr.htm"
9 SRC_URI="http://www.lf-klueber.de/${P}.tgz
10 mirror://vdrfiles/${PN}/${P}.tgz"
11
12 KEYWORDS="amd64 x86"
13 SLOT="0"
14 LICENSE="GPL-2"
15 IUSE=""
16
17 DEPEND=">=media-video/vdr-1.2.6"
18
19 pkg_setup() {
20 vdr-plugin_pkg_setup
21
22 if ! getent group uucp | grep -q vdr; then
23 echo
24 einfo "Add user 'vdr' to group 'uucp' for full user access to serial/ttyS* device"
25 echo
26 elog "User vdr added to group uucp"
27 gpasswd -a vdr uucp
28 fi
29 }
30
31 src_unpack() {
32 vdr-plugin_src_unpack
33 cd "${S}"/tools
34 emake clean
35 }

  ViewVC Help
Powered by ViewVC 1.1.20