summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-12-11 09:37:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-12-11 09:37:32 +0000
commit82c8f9b4570c35942632d72e4c3ad19deb6cbda5 (patch)
treed37ad71c76be976bff7774bc20be3e94ac0135a1 /dev-embedded
parentUse virtual/udev instead of sys-fs/udev (diff)
downloadgentoo-2-82c8f9b4570c35942632d72e4c3ad19deb6cbda5.tar.gz
gentoo-2-82c8f9b4570c35942632d72e4c3ad19deb6cbda5.tar.bz2
gentoo-2-82c8f9b4570c35942632d72e4c3ad19deb6cbda5.zip
Use virtual/udev instead of sys-fs/udev. Use udev.eclass to determine correct rules.d path.
(Portage version: 2.2.0_alpha147/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/dfu-programmer/ChangeLog7
-rw-r--r--dev-embedded/dfu-programmer/dfu-programmer-0.5.4-r1.ebuild12
2 files changed, 12 insertions, 7 deletions
diff --git a/dev-embedded/dfu-programmer/ChangeLog b/dev-embedded/dfu-programmer/ChangeLog
index f1877d546180..dcceeb8ec4f4 100644
--- a/dev-embedded/dfu-programmer/ChangeLog
+++ b/dev-embedded/dfu-programmer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-embedded/dfu-programmer
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/dfu-programmer/ChangeLog,v 1.2 2012/11/15 23:17:51 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/dfu-programmer/ChangeLog,v 1.3 2012/12/11 09:37:32 ssuominen Exp $
+
+ 11 Dec 2012; Samuli Suominen <ssuominen@gentoo.org>
+ dfu-programmer-0.5.4-r1.ebuild:
+ Use virtual/udev instead of sys-fs/udev. Use udev.eclass to determine correct
+ rules.d path.
*dfu-programmer-0.5.4-r1 (15 Nov 2012)
diff --git a/dev-embedded/dfu-programmer/dfu-programmer-0.5.4-r1.ebuild b/dev-embedded/dfu-programmer/dfu-programmer-0.5.4-r1.ebuild
index 035098f88298..822c9e97d380 100644
--- a/dev-embedded/dfu-programmer/dfu-programmer-0.5.4-r1.ebuild
+++ b/dev-embedded/dfu-programmer/dfu-programmer-0.5.4-r1.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/dev-embedded/dfu-programmer/dfu-programmer-0.5.4-r1.ebuild,v 1.1 2012/11/15 23:17:51 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/dfu-programmer/dfu-programmer-0.5.4-r1.ebuild,v 1.2 2012/12/11 09:37:32 ssuominen Exp $
EAPI=4
-inherit autotools base
+inherit autotools base udev
DESCRIPTION="A Device Firmware Update based USB programmer for Atmel chips"
HOMEPAGE="http://dfu-programmer.sourceforge.net"
@@ -13,9 +13,9 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE=""
-DEPEND="virtual/libusb:1
- sys-fs/udev"
-RDEPEND="${DEPEND}"
+RDEPEND="virtual/libusb:1
+ virtual/udev"
+DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${PV}-as-needed.patch" )
src_prepare() {
@@ -26,7 +26,7 @@ src_prepare() {
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
ebegin "Generating UDEV rules..."
- UDEV_RULES="/lib/udev/rules.d/70-dfu-programmer.rules"
+ UDEV_RULES="$(udev_get_udevdir)/rules.d/70-dfu-programmer.rules"
mkdir -p "${D}"/${UDEV_RULES%/*}
echo -e "#\n# do not edit this file, it will be overwritten on update\n#" \
> "${D}"/${UDEV_RULES}