1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 EGIT_REPO_URI="git://comedi.org/git/comedi/comedi.git"
13 DESCRIPTION="Header files for Control and Measurement Device Interface kernel modules"
14 HOMEPAGE="http://www.comedi.org/"
18 KEYWORDS="~x86 ~amd64"
24 RESTRICT="binchecks strip"
27 use udev && enewgroup comedi
28 #groupdel in pkg_postrm()?
31 src_configure() { :; }
36 cd "${S}/include/linux"
38 doins comedi.h || die "include install failed"
40 insinto /etc/udev/rules.d
41 doins "${FILESDIR}/52-comedi.rules" || die "udev rule install failed"
47 elog "To be able to use Comedi devices, you need to be a"
48 elog "member of the group 'comedi' which has just been added"
49 elog "to your system. You can add your user to the group by"
50 elog "running the following command as root:"
52 elog " usermod -a -G comedi youruser"
54 elog "Please be aware that you need to either re-login or run"
56 elog " newgrp - comedi"
58 elog "for the group membership to take effect."