summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-12-11 14:46:38 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-12-11 14:46:38 +0000
commitf48bcbde6b7fbf5387c99a2e381b52733a3e5989 (patch)
treebf41b58896421099c7743260e2a190aa43a8ea2b /app-accessibility/brltty
parentUse virtual/udev instead of sys-fs/udev (diff)
downloadgentoo-2-f48bcbde6b7fbf5387c99a2e381b52733a3e5989.tar.gz
gentoo-2-f48bcbde6b7fbf5387c99a2e381b52733a3e5989.tar.bz2
gentoo-2-f48bcbde6b7fbf5387c99a2e381b52733a3e5989.zip
Use udev_newrules function to install udev rules into correct path.
(Portage version: 2.2.0_alpha147/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'app-accessibility/brltty')
-rw-r--r--app-accessibility/brltty/ChangeLog6
-rw-r--r--app-accessibility/brltty/brltty-4.2-r1.ebuild9
-rw-r--r--app-accessibility/brltty/brltty-4.2.ebuild9
3 files changed, 12 insertions, 12 deletions
diff --git a/app-accessibility/brltty/ChangeLog b/app-accessibility/brltty/ChangeLog
index fb24f3b5f1c7..3c2f6ea660cd 100644
--- a/app-accessibility/brltty/ChangeLog
+++ b/app-accessibility/brltty/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-accessibility/brltty
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/ChangeLog,v 1.125 2012/12/11 13:55:09 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/ChangeLog,v 1.126 2012/12/11 14:46:38 ssuominen Exp $
+
+ 11 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> brltty-4.2.ebuild,
+ brltty-4.2-r1.ebuild:
+ Use udev_newrules function to install udev rules into correct path.
11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> brltty-4.2-r1.ebuild:
virtualized references to sys-fs/udev
diff --git a/app-accessibility/brltty/brltty-4.2-r1.ebuild b/app-accessibility/brltty/brltty-4.2-r1.ebuild
index 4e5bca1d5ce7..6b0c93871e61 100644
--- a/app-accessibility/brltty/brltty-4.2-r1.ebuild
+++ b/app-accessibility/brltty/brltty-4.2-r1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/brltty-4.2-r1.ebuild,v 1.2 2012/12/11 13:55:09 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/brltty-4.2-r1.ebuild,v 1.3 2012/12/11 14:46:38 ssuominen Exp $
EAPI="4"
FINDLIB_USE="ocaml"
inherit findlib eutils multilib toolchain-funcs java-pkg-opt-2 flag-o-matic \
- autotools
+ autotools udev
DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
HOMEPAGE="http://mielke.cc/brltty/"
@@ -116,10 +116,7 @@ src_install() {
insinto /etc
doins Documents/brltty.conf
- local udevdir=/lib/udev
- has_version virtual/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
- insinto "${udevdir}"/rules.d
- newins Hotplug/udev.rules 70-brltty.rules
+ udev_newrules Hotplug/udev.rules 70-brltty.rules
newinitd "${FILESDIR}"/brltty.rc brltty
libdir="$(get_libdir)"
diff --git a/app-accessibility/brltty/brltty-4.2.ebuild b/app-accessibility/brltty/brltty-4.2.ebuild
index 24e8f344662c..b3252f949b0d 100644
--- a/app-accessibility/brltty/brltty-4.2.ebuild
+++ b/app-accessibility/brltty/brltty-4.2.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/brltty-4.2.ebuild,v 1.16 2011/05/12 16:49:35 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/brltty-4.2.ebuild,v 1.17 2012/12/11 14:46:38 ssuominen Exp $
EAPI="4"
FINDLIB_USE="ocaml"
inherit findlib eutils multilib toolchain-funcs java-pkg-opt-2 flag-o-matic \
- autotools
+ autotools udev
DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
HOMEPAGE="http://mielke.cc/brltty/"
@@ -115,8 +115,7 @@ src_install() {
insinto /etc
doins Documents/brltty.conf
- insinto /etc/udev/rules.d
- newins Hotplug/udev.rules 70-brltty.rules
+ udev_newrules Hotplug/udev.rules 70-brltty.rules
newinitd "${FILESDIR}"/brltty.rc brltty
libdir="$(get_libdir)"