summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-02-07 16:30:37 +0000
committerJeroen Roovers <jer@gentoo.org>2010-02-07 16:30:37 +0000
commitac64117443387c91fc70586f44c9038f1c480a3e (patch)
treea09129084b934ebb10adbe9b3515c0087520a781 /x11-misc
parentRespect CFLAGS (bug #241536). (diff)
downloadgentoo-2-ac64117443387c91fc70586f44c9038f1c480a3e.tar.gz
gentoo-2-ac64117443387c91fc70586f44c9038f1c480a3e.tar.bz2
gentoo-2-ac64117443387c91fc70586f44c9038f1c480a3e.zip
Get rid of src_compile() with unneeded custom ./configure. Respect CFLAGS (bug #241542).
(Portage version: 2.2_rc62/cvs/Linux i686)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/fxred/ChangeLog10
-rw-r--r--x11-misc/fxred/fxred-0.9-r1.ebuild35
2 files changed, 43 insertions, 2 deletions
diff --git a/x11-misc/fxred/ChangeLog b/x11-misc/fxred/ChangeLog
index 0b74161853ff..c84a5725dcab 100644
--- a/x11-misc/fxred/ChangeLog
+++ b/x11-misc/fxred/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/fxred
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/fxred/ChangeLog,v 1.14 2008/06/17 12:39:45 nelchael Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/fxred/ChangeLog,v 1.15 2010/02/07 16:30:37 jer Exp $
+
+*fxred-0.9-r1 (07 Feb 2010)
+
+ 07 Feb 2010; Jeroen Roovers <jer@gentoo.org> +fxred-0.9-r1.ebuild:
+ Get rid of src_compile() with unneeded custom ./configure. Respect CFLAGS
+ (bug #241542).
17 Jun 2008; Krzysiek Pawlik <nelchael@gentoo.org> fxred-0.9.ebuild:
Add missing x11-proto/inputproto to DEPEND, bug #227735.
diff --git a/x11-misc/fxred/fxred-0.9-r1.ebuild b/x11-misc/fxred/fxred-0.9-r1.ebuild
new file mode 100644
index 000000000000..4d2e2d7fe8e2
--- /dev/null
+++ b/x11-misc/fxred/fxred-0.9-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/fxred/fxred-0.9-r1.ebuild,v 1.1 2010/02/07 16:30:37 jer Exp $
+
+EAPI="2"
+
+DESCRIPTION="a handler for the red scroll button of the Logitech TrackMan Marble
+FX, a trackball."
+HOMEPAGE="http://www.larskrueger.homestead.com/files/index.html#X11"
+SRC_URI="http://www.larskrueger.homestead.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXtst"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-proto/inputproto
+ x11-proto/xproto
+ x11-libs/libXt"
+
+src_prepare() {
+ sed -i configure -e '/^CFLAGS="-O2 -Wall"/d' || die "sed failed"
+}
+
+src_install () {
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog README TODO.txt
+ dohtml fxred/docs/en/*.html
+ insinto /etc
+ doins fxredrc
+}