summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-12-11 16:22:37 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-12-11 16:22:37 +0000
commit3b92dff1d5386a54884f401314e8da12386e7372 (patch)
tree3c70d36957a93f91930d5a6e7f9973c23744a6a9 /sys-apps/lomoco
parentold (diff)
downloadhistorical-3b92dff1d5386a54884f401314e8da12386e7372.tar.gz
historical-3b92dff1d5386a54884f401314e8da12386e7372.tar.bz2
historical-3b92dff1d5386a54884f401314e8da12386e7372.zip
Port to udev.eclass.
Package-Manager: portage-2.2.0_alpha147/cvs/Linux x86_64 Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-apps/lomoco')
-rw-r--r--sys-apps/lomoco/ChangeLog5
-rw-r--r--sys-apps/lomoco/Manifest18
-rw-r--r--sys-apps/lomoco/lomoco-1.0-r9.ebuild22
3 files changed, 21 insertions, 24 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/Manifest b/sys-apps/lomoco/Manifest
index 42e7ef0ff6a4..e743f299866a 100644
--- a/sys-apps/lomoco/Manifest
+++ b/sys-apps/lomoco/Manifest
@@ -6,17 +6,17 @@ AUX lomoco-1.0-updated-udev.patch 2335 SHA256 ce281a45d4001192b35256d658b661adde
AUX lomoco-pm-utils-r1 82 SHA256 0591a26f14238abc1965a9cbddcc41cd9a82873058b420447e917dd770cb9d4f SHA512 316bcd13dfb18f573797c5e57cf318ac34efe347ae623a63e0b84d64360188d54308907111be54098a6c334822797c7018475b1c7930418d90e4826924117886 WHIRLPOOL 13cf317de1515724fcd09b1986fc7531d77920db60e051eb14359162c08812ebbacb8ddbb27ee011bade9e43b859f8bd2a6525668764231654de0988f60b9717
AUX lomoco.conf 296 SHA256 53260f97c2385d4b3d3d9340d2ca4d90bad954c72277b235a411a20f2467b233 SHA512 74dad00bb2aa15fefe16e59c56a34184fb3912aed319c6c1e5a72b7516fd29c0af305c50afe8ad819936175e06715f5b03ee7cd3c1f6a213c0d466484748f541 WHIRLPOOL 3a43e7887ba6890daf60e3eff97bd97c990c449208ba33b43bba05a5fe885d9cec180fa8de4d895639749680284123c811db21554bd8a0845f117e1211ee4eb4
DIST lomoco-1.0.tar.gz 24573 SHA256 e9e537e8bca6186f84b457394a9e934b89c36870c66aa202ed188c7aa24e9dcc SHA512 5cd04c956fe11112be83e8d4ad91e4a8fac1bacd03666e8959ce20f2cc372fc8c53a5ac86b94125088f6b303936f087caafe71248ca8511b6a580f58459aee9f WHIRLPOOL 2bf5368351879f7f77e1dc9a61404a6f23f3ff96a1fa943aad3954741e1492df2833f306b774bc2e44dd63ec0c85c4b8fe3661f48b7d2b82e384b9f12fa82943
-EBUILD lomoco-1.0-r9.ebuild 1418 SHA256 d56890697e23320631ba97c59f71962aeb36ef7de3909d836ed52e6cd4bf5d63 SHA512 7ddd2923a44be9d628c9ee8e421a9fa04d89e7436266f9cee0ae5724af5ea687384b208a0664b6fe1c51205a6c18c68b4a9b2cbb4342e8d6c1c51c580fb8f6bb WHIRLPOOL 14e04482768e0195d9f5d24f50ea7bb0004ef9db247da19da83921fbc08a6aadb1c040a10ffe45398c11b6a4687721fb9cb24f5f8abed3622229487afc651310
-MISC ChangeLog 4083 SHA256 918d8613684d69e11a8550b99846dcc9c72776db8bad23818ed4759e5ab373d6 SHA512 7a8b4073f8103fb2f70f21b40a6a38fff864a369e3c5e0b6f977055d29fd7cf0701437945f83d0b188a29a62daa2505f57c962f89a7618206d7af123e2a9e6f9 WHIRLPOOL c20a77d50c029ea2681e2c6f5fcc9ca967e9608994822c66a44b52d8f310ce4e7150f8707c0cbbbcd603ab159165390f8c0f041ec329f2e3625c3a665d555ead
+EBUILD lomoco-1.0-r9.ebuild 1215 SHA256 5a9c644aacdfdc91550af804262f072aa96cb7a70aa1f50d752826dac8d54e1a SHA512 76fbb85caf3a9c2c541abc51143773a85b9ea3943dbcb3031d4c5ae7d8b5981a1a1cad2cdfe98ac26c8804c90e8d5b64307e5addef05b97f3ba688b68f27af7c WHIRLPOOL 61c23867dc7834d2e00653a7dd7c720120f98c29f60daa2943389e219f46f5d33c1ef8ab7200b0f321ddca9a55e3537f34fa04c9e8cf006873c83ab562dab676
+MISC ChangeLog 4183 SHA256 fd8cfc0efb46fdbc1c38d710b5710ee941102fdd778a32421f30cc2dd04f9036 SHA512 1c1849ad1b65de63a6f127ed126d5a6fe0b8e28eae28dd66ef615c862d6b9367a4d9ebc6aabbfcc21358584e87789e2d03aa06ee5da03e200233645bf93aa0de WHIRLPOOL 6418e194e2000c3857c15e06082c1a4f5d2f25d7dab66e053743c0eb7ce51df3b9563c69e1853bab07c58cd78d7b099b7f6c20d0d713c5b70b4ac6608ae73605
MISC metadata.xml 338 SHA256 cb12117cd7385431f0289cf87c982bc2e81fdbfaa13a345cdc604ff852c896f0 SHA512 f560ac7f4fe1f7811dcc1d1f8f2e1b299c2991361bbd28a2b85938ce021b236b4b7f5d0bdd55b70fab3b4fcb72cd8723ff9b16e19f688302591ad89042aebfcd WHIRLPOOL 0f928e6280a685100b9f85e27bc590778d665f1669b6fcd72929e9fc0092eaa79f37d0295dddbe958f005f965ab5bcdee29facd47c554f24f7b04cd82e285693
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQx10ZAAoJEEdUh39IaPFN+44H/RWN2Wp94vQtpExnzoalgmcC
-6Kx6yGJCjeglAgsCiKBy6956QHsL2vU5/RReiWdRT6RYBa7jTpqHMZixGd/D4egj
-t53SGdxTE+lpm+IfYvn83fNmtVslnmpyi4Scx4ZKAqarjrUmhQfNcJM/DpIYcop1
-u2WlZ7YcebDUGJAIQ4/0y0unw6y13ONchnB0J8nCdMKaYoz7Jr6fCY8b2LPdzQj1
-5A6eEOA1cHeh8Mo0HdwEXg8MOG9VYHCIW9ZYsWMzQDWRcb6VoYKVhkAjWUEgfCGl
-KlLFr+2siyJ9gMzcXz/Ra7FjiNm8eiHEjMURNFXzpVQDwba48hrWQ/5hsTtOYQc=
-=EW8F
+iQEcBAEBCAAGBQJQx13JAAoJEEdUh39IaPFN7w0H/RlNBNm5J7y0ewLv0oDJ5QVA
+kyJG8OhNT6G8ncxqtkGuKSauqyNH42JJqnlo467tZ923aNpX1uGaanUjy4lmgtwz
+067njfZT9xVwRHS+aeEhNBXHAn0dbpwMZtLSNfjf2l+bIOjEzRsdDy0KAZufV38E
+eIdxmz9DSwo7kZ3rnU4Ju5nrX03Yii0z2VX0EyO//3BrK19p/BgSxl8KMe9yLekA
+to2i7tgqcWhQybxjuaovGVQqsR2fQ5+IsnZJPp9Ujaro2IArbV78UJSih5GfCnwL
+ETtrmlOjfcUUAACJcdW29qDJfByqk7RbKOFZ3E+ixyzLj6Cl9Syc7/5OMEJxqT4=
+=4Q8T
-----END PGP SIGNATURE-----
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