summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-12-11 16:22:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-12-11 16:22:32 +0000
commitb919e3b014e2ece20418ec66253097344940e1f2 (patch)
tree6e70b5f1a3dd8b5fd29cebac0032f7eb520f458f /sys-apps
parentold (diff)
downloadgentoo-2-b919e3b014e2ece20418ec66253097344940e1f2.tar.gz
gentoo-2-b919e3b014e2ece20418ec66253097344940e1f2.tar.bz2
gentoo-2-b919e3b014e2ece20418ec66253097344940e1f2.zip
Port to udev.eclass.
(Portage version: 2.2.0_alpha147/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/lomoco/ChangeLog5
-rw-r--r--sys-apps/lomoco/lomoco-1.0-r9.ebuild22
2 files changed, 12 insertions, 15 deletions
diff --git a/sys-apps/lomoco/ChangeLog b/sys-apps/lomoco/ChangeLog
index 98f03edf8ce2..2f43d04d5ce0 100644
--- a/sys-apps/lomoco/ChangeLog
+++ b/sys-apps/lomoco/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/lomoco
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lomoco/ChangeLog,v 1.23 2012/12/11 16:19:36 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lomoco/ChangeLog,v 1.24 2012/12/11 16:22:32 ssuominen Exp $
+
+ 11 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> lomoco-1.0-r9.ebuild:
+ Port to udev.eclass.
11 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> -lomoco-1.0-r7.ebuild,
-lomoco-1.0-r8.ebuild:
diff --git a/sys-apps/lomoco/lomoco-1.0-r9.ebuild b/sys-apps/lomoco/lomoco-1.0-r9.ebuild
index 60dae0c5037d..3265ff13723b 100644
--- a/sys-apps/lomoco/lomoco-1.0-r9.ebuild
+++ b/sys-apps/lomoco/lomoco-1.0-r9.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lomoco/lomoco-1.0-r9.ebuild,v 1.3 2012/11/21 10:10:57 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lomoco/lomoco-1.0-r9.ebuild,v 1.4 2012/12/11 16:22:31 ssuominen Exp $
EAPI=4
-inherit autotools eutils multilib toolchain-funcs
+inherit autotools eutils multilib toolchain-funcs udev
DESCRIPTION="Lomoco can configure vendor-specific options on Logitech USB mice."
HOMEPAGE="http://www.lomoco.org/"
@@ -14,8 +14,7 @@ SLOT="0"
KEYWORDS="~alpha amd64 x86"
IUSE=""
-RDEPEND="!<sys-fs/udev-114
- virtual/libusb:0"
+RDEPEND="virtual/libusb:0"
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -23,14 +22,12 @@ DOCS="AUTHORS ChangeLog NEWS README"
src_prepare() {
cp -f "${FILESDIR}"/lomoco-pm-utils-r1 "${T}" || die
- local udevdir=/lib/udev
- has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
- sed -i -e "s|@UDEVDIR@|${udevdir}|" "${T}"/lomoco-pm-utils-r1 || die
+ sed -i -e "s|@UDEVDIR@|$(udev_get_udevdir)|" "${T}"/lomoco-pm-utils-r1 || die
epatch \
"${FILESDIR}"/${P}-gentoo-hardware-support.patch \
- "${FILESDIR}"/${P}-updated-udev.patch \
-
+ "${FILESDIR}"/${P}-updated-udev.patch
+
eautoreconf
}
@@ -42,13 +39,10 @@ src_compile() {
src_install() {
default
- local udevdir=/lib/udev
- has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
-
- insinto "${udevdir}"/rules.d
+ insinto "$(udev_get_udevdir)"/rules.d
newins udev/lomoco.rules 40-lomoco.rules
- exeinto "${udevdir}"
+ exeinto "$(udev_get_udevdir)"
newexe udev/udev.lomoco lomoco
insinto /etc