diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2009-12-07 19:19:35 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2009-12-07 19:19:35 +0000 |
commit | 5cebc50b5e2fda8cc4debc567994d2a296028a81 (patch) | |
tree | 882bc35fd8080a85f82f87f5be2a33c0fe8748bc /app-misc | |
parent | Stable for HPPA (bug #288026). (diff) | |
download | gentoo-2-5cebc50b5e2fda8cc4debc567994d2a296028a81.tar.gz gentoo-2-5cebc50b5e2fda8cc4debc567994d2a296028a81.tar.bz2 gentoo-2-5cebc50b5e2fda8cc4debc567994d2a296028a81.zip |
Fix udev rule deprecated key names, thanks Lars in bug #295921. Also switch to EAPI 2
(Portage version: 2.2_rc56/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/razertool/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/razertool/razertool-0.0.7-r1.ebuild (renamed from app-misc/razertool/razertool-0.0.7.ebuild) | 13 |
2 files changed, 13 insertions, 9 deletions
diff --git a/app-misc/razertool/ChangeLog b/app-misc/razertool/ChangeLog index 8e6205e29637..701e43fa54db 100644 --- a/app-misc/razertool/ChangeLog +++ b/app-misc/razertool/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-misc/razertool # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/razertool/ChangeLog,v 1.4 2009/05/16 09:14:30 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/razertool/ChangeLog,v 1.5 2009/12/07 19:19:35 voyageur Exp $ + +*razertool-0.0.7-r1 (07 Dec 2009) + + 07 Dec 2009; Bernard Cafarelli <voyageur@gentoo.org> + -razertool-0.0.7.ebuild, +razertool-0.0.7-r1.ebuild: + Fix udev rule deprecated key names, thanks Lars in bug #295921. Also + switch to EAPI 2 16 May 2009; Robin H. Johnson <robbat2@gentoo.org> razertool-0.0.7.ebuild: Migration to virtual/libusb. Verified by testing hardware (by diff --git a/app-misc/razertool/razertool-0.0.7.ebuild b/app-misc/razertool/razertool-0.0.7-r1.ebuild index 287e5ef71fa7..f29d996d6c36 100644 --- a/app-misc/razertool/razertool-0.0.7.ebuild +++ b/app-misc/razertool/razertool-0.0.7-r1.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/razertool/razertool-0.0.7.ebuild,v 1.4 2009/05/16 09:14:30 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/razertool/razertool-0.0.7-r1.ebuild,v 1.1 2009/12/07 19:19:35 voyageur Exp $ +EAPI=2 inherit eutils DESCRIPTION="Unofficial tool for controlling the Razer Copperhead mouse" @@ -22,12 +23,9 @@ RDEPEND="=virtual/libusb-0* DEPEND="${RDEPEND} dev-util/pkgconfig" -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { sed -i razertool.rules.example \ - -e 's:ACTION=="add", ::' \ + -e 's:ACTION=="add", ::;s:BUS=:SUBSYSTEMS=:;s:SYSFS{:ATTRS{:g' \ || die "sed razertool.rules.example action failed" if ! use hal ; then @@ -38,9 +36,8 @@ src_unpack() { fi } -src_compile() { +src_configure() { econf $(use_enable gtk) || die "econf failed" - emake || die "emake failed" } src_install() { |