diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-09-28 17:35:31 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-09-28 17:35:31 +0000 |
commit | dd97cec6c5ec98d3f969ed8285be3dd7cb67cd0f (patch) | |
tree | 31e4e752a30f6d6c707de29390a88c32ad454f8f /x11-apps | |
parent | Respect LDFLAGS (bug #336977). Drop unused dependency and change sed script t... (diff) | |
download | gentoo-2-dd97cec6c5ec98d3f969ed8285be3dd7cb67cd0f.tar.gz gentoo-2-dd97cec6c5ec98d3f969ed8285be3dd7cb67cd0f.tar.bz2 gentoo-2-dd97cec6c5ec98d3f969ed8285be3dd7cb67cd0f.zip |
Respect LDFLAGS (bug #337105), CC, CFLAGS.
(Portage version: 2.2_rc86/cvs/Linux i686)
Diffstat (limited to 'x11-apps')
-rw-r--r-- | x11-apps/xwarppointer/ChangeLog | 7 | ||||
-rw-r--r-- | x11-apps/xwarppointer/xwarppointer-1-r1.ebuild | 38 |
2 files changed, 44 insertions, 1 deletions
diff --git a/x11-apps/xwarppointer/ChangeLog b/x11-apps/xwarppointer/ChangeLog index 138bd52eb14a..a65eebaeb178 100644 --- a/x11-apps/xwarppointer/ChangeLog +++ b/x11-apps/xwarppointer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-apps/xwarppointer # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-apps/xwarppointer/ChangeLog,v 1.3 2010/06/02 06:52:37 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-apps/xwarppointer/ChangeLog,v 1.4 2010/09/28 17:35:31 jer Exp $ + +*xwarppointer-1-r1 (28 Sep 2010) + + 28 Sep 2010; Jeroen Roovers <jer@gentoo.org> +xwarppointer-1-r1.ebuild: + Respect LDFLAGS (bug #337105), CC, CFLAGS. 02 Jun 2010; Torsten Veller <tove@gentoo.org> metadata.xml: Remove hncaldwell from metadata.xml (#230778) diff --git a/x11-apps/xwarppointer/xwarppointer-1-r1.ebuild b/x11-apps/xwarppointer/xwarppointer-1-r1.ebuild new file mode 100644 index 000000000000..1b55cf7f9e30 --- /dev/null +++ b/x11-apps/xwarppointer/xwarppointer-1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-apps/xwarppointer/xwarppointer-1-r1.ebuild,v 1.1 2010/09/28 17:35:31 jer Exp $ + +EAPI="2" + +inherit toolchain-funcs + +DESCRIPTION="Program to move the mouse cursor" +HOMEPAGE="http://www.ishiboo.com/~nirva/Projects/xwarppointer/" +SRC_URI="http://www.ishiboo.com/~nirva/Projects/xwarppointer/${PN}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="x11-libs/libX11" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +src_prepare() { + sed -i Makefile \ + -e 's|^X11HOME=.*|X11HOME=/usr/X11R6|' \ + -e 's|^CFLAGS=|CFLAGS+=|' \ + -e 's| -o | $(LDFLAGS)&|' \ + || die 'setting X11HOME failed' +} + +src_compile() { + emake CC=$(tc-getCC) || die +} + +src_install() { + dobin xwarppointer || die "install failed" + dodoc README +} |