summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2012-12-11 16:13:31 +0000
committerIan Stakenvicius <axs@gentoo.org>2012-12-11 16:13:31 +0000
commit26acc708e18065be5b1155e6a6400d52f841959d (patch)
tree28306040dbfa6afe9dc318cb5815cc6626132ef5 /media-gfx/sane-backends
parentuse udev.eclass for rules installation (a cleaner virtualization of udev) (diff)
downloadgentoo-2-26acc708e18065be5b1155e6a6400d52f841959d.tar.gz
gentoo-2-26acc708e18065be5b1155e6a6400d52f841959d.tar.bz2
gentoo-2-26acc708e18065be5b1155e6a6400d52f841959d.zip
use udev.eclass for rules installation (a cleaner virtualization of udev)
(Portage version: 2.1.11.33/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
Diffstat (limited to 'media-gfx/sane-backends')
-rw-r--r--media-gfx/sane-backends/ChangeLog5
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.23.ebuild10
2 files changed, 7 insertions, 8 deletions
diff --git a/media-gfx/sane-backends/ChangeLog b/media-gfx/sane-backends/ChangeLog
index 2f73b7e30c5f..ef40a79f0c88 100644
--- a/media-gfx/sane-backends/ChangeLog
+++ b/media-gfx/sane-backends/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/sane-backends
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.209 2012/12/11 14:13:12 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.210 2012/12/11 16:13:31 axs Exp $
+
+ 11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> sane-backends-1.0.23.ebuild:
+ use udev.eclass for rules installation (a cleaner virtualization of udev)
11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> sane-backends-1.0.23.ebuild:
virtualized references to sys-fs/udev
diff --git a/media-gfx/sane-backends/sane-backends-1.0.23.ebuild b/media-gfx/sane-backends/sane-backends-1.0.23.ebuild
index 92699104a3fa..c9042616493b 100644
--- a/media-gfx/sane-backends/sane-backends-1.0.23.ebuild
+++ b/media-gfx/sane-backends/sane-backends-1.0.23.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.23.ebuild,v 1.3 2012/12/11 14:13:12 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.23.ebuild,v 1.4 2012/12/11 16:13:31 axs Exp $
EAPI="4"
-inherit eutils flag-o-matic multilib user
+inherit eutils flag-o-matic multilib udev user
# gphoto and v4l are handled by their usual USE flags.
# The pint backend was disabled because I could not get it to compile.
@@ -245,11 +245,7 @@ src_install () {
doexe tools/hotplug/libusbscanner
newdoc tools/hotplug/README README.hotplug
fi
- # note: if pkg needs /usr mounted for rules to succeed (probable) then rules should install to /usr
- local udevdir="/lib/udev"
- has_version virtual/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
- insinto "${udevdir}"/rules.d
- newins tools/udev/libsane.rules 41-libsane.rules
+ udev_newrules tools/udev/libsane.rules 41-libsane.rules
insinto "/usr/share/pkgconfig"
doins tools/sane-backends.pc