| 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/eclass/udev.eclass,v 1.4 2012/10/31 16:08:49 ssuominen Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/udev.eclass,v 1.8 2012/12/03 01:58:44 ssuominen Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: udev.eclass |
5 | # @ECLASS: udev.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # udev-bugs@gentoo.org |
7 | # udev-bugs@gentoo.org |
| 8 | # @BLURB: Default eclass for determining udev directories. |
8 | # @BLURB: Default eclass for determining udev directories. |
| … | |
… | |
| 11 | # @EXAMPLE: |
11 | # @EXAMPLE: |
| 12 | # |
12 | # |
| 13 | # @CODE |
13 | # @CODE |
| 14 | # inherit udev |
14 | # inherit udev |
| 15 | # |
15 | # |
| 16 | # RDEPEND=">=sys-fs/udev-171-r6" |
16 | # # In this example 196 is the first version with udev.bin hwdb database, |
|
|
17 | # # and we also link against libgudev |
|
|
18 | # RDEPEND=">=virtual/udev-196[hwdb,gudev]" |
| 17 | # DEPEND="${RDEPEND}" |
19 | # DEPEND="${RDEPEND}" |
| 18 | # |
20 | # |
| 19 | # src_configure() { |
21 | # src_configure() { |
|
|
22 | # econf \ |
| 20 | # econf --with-udevdir="$(udev_get_udevdir)" |
23 | # --with-rulesdir="$(udev_get_udevdir)"/rules.d \ |
|
|
24 | # } |
|
|
25 | # |
|
|
26 | # src_install() { |
|
|
27 | # # udev_dorules contrib/99-foomatic |
|
|
28 | # udev_newrules contrib/98-foomatic 99-foomatic |
| 21 | # } |
29 | # } |
| 22 | # @CODE |
30 | # @CODE |
| 23 | |
31 | |
| 24 | inherit toolchain-funcs |
32 | inherit toolchain-funcs |
| 25 | |
33 | |