summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-08-11 01:48:38 +0000
committerJeroen Roovers <jer@gentoo.org>2010-08-11 01:48:38 +0000
commit59c40b9b3e9d6b9249644974a4a4299f5f354286 (patch)
tree929eacd0430dccc36c3da37bf26795a338a4be19 /x11-misc/gromit
parentRespect LDFLAGS (bug #331785). Move dosed scripts to src_prepare and make sur... (diff)
downloadgentoo-2-59c40b9b3e9d6b9249644974a4a4299f5f354286.tar.gz
gentoo-2-59c40b9b3e9d6b9249644974a4a4299f5f354286.tar.bz2
gentoo-2-59c40b9b3e9d6b9249644974a4a4299f5f354286.zip
Do not hardcode CC in Makefile. Respect LDFLAGS (bug #331889).
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'x11-misc/gromit')
-rw-r--r--x11-misc/gromit/ChangeLog9
-rw-r--r--x11-misc/gromit/gromit-20041213-r1.ebuild37
2 files changed, 44 insertions, 2 deletions
diff --git a/x11-misc/gromit/ChangeLog b/x11-misc/gromit/ChangeLog
index ee3c695a0099..f4038184752e 100644
--- a/x11-misc/gromit/ChangeLog
+++ b/x11-misc/gromit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/gromit
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/gromit/ChangeLog,v 1.12 2008/04/21 16:03:37 drac Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/gromit/ChangeLog,v 1.13 2010/08/11 01:48:38 jer Exp $
+
+*gromit-20041213-r1 (11 Aug 2010)
+
+ 11 Aug 2010; Jeroen Roovers <jer@gentoo.org> +gromit-20041213-r1.ebuild:
+ Do not hardcode CC in Makefile. Respect LDFLAGS (bug #331889).
21 Apr 2008; Samuli Suominen <drac@gentoo.org> gromit-20041213.ebuild:
Move pkgconfig from RDEPEND to DEPEND. Use toolchain-funcs for CC.
diff --git a/x11-misc/gromit/gromit-20041213-r1.ebuild b/x11-misc/gromit/gromit-20041213-r1.ebuild
new file mode 100644
index 000000000000..4d369a54ac7c
--- /dev/null
+++ b/x11-misc/gromit/gromit-20041213-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/gromit/gromit-20041213-r1.ebuild,v 1.1 2010/08/11 01:48:38 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="GRaphics Over MIscellaneous Things, a presentation helper"
+HOMEPAGE="http://www.home.unix-ag.org/simon/gromit"
+SRC_URI="http://www.home.unix-ag.org/simon/gromit/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ sed -i Makefile \
+ -e 's:-Wall:-Wall $(CFLAGS) $(LDFLAGS):' \
+ -e 's:gcc:$(CC):g' \
+ || die "sed Makefile failed"
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) || die
+}
+
+src_install() {
+ dobin ${PN}
+ newdoc ${PN}rc ${PN}rc.example
+ dodoc AUTHORS ChangeLog README
+}