diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2007-05-29 08:54:36 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2007-05-29 08:54:36 +0000 |
commit | c92fd3c64cafaefe03f46cf07f81cb8ec04118e2 (patch) | |
tree | 4f6c5e9c73f387c42a59398f6d101ac0873cd38b /x11-libs/gtk-canvas/gtk-canvas-0.1.1-r2.ebuild | |
parent | Bump to latest version. Now uses external, slotted sci-libs/clipper instead o... (diff) | |
download | gentoo-2-c92fd3c64cafaefe03f46cf07f81cb8ec04118e2.tar.gz gentoo-2-c92fd3c64cafaefe03f46cf07f81cb8ec04118e2.tar.bz2 gentoo-2-c92fd3c64cafaefe03f46cf07f81cb8ec04118e2.zip |
Fix for --as-needed linker flag.
(Portage version: 2.1.2.7)
Diffstat (limited to 'x11-libs/gtk-canvas/gtk-canvas-0.1.1-r2.ebuild')
-rw-r--r-- | x11-libs/gtk-canvas/gtk-canvas-0.1.1-r2.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/x11-libs/gtk-canvas/gtk-canvas-0.1.1-r2.ebuild b/x11-libs/gtk-canvas/gtk-canvas-0.1.1-r2.ebuild new file mode 100644 index 000000000000..bff32521bcd9 --- /dev/null +++ b/x11-libs/gtk-canvas/gtk-canvas-0.1.1-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-canvas/gtk-canvas-0.1.1-r2.ebuild,v 1.1 2007/05/29 08:54:36 dberkholz Exp $ + +inherit eutils autotools + +DESCRIPTION="Backport of the GnomeCanvas widget to GTK+" +HOMEPAGE="http://www.atai.org/gtk-canvas/" +SRC_URI="http://www.atai.org/gtk-canvas/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" +RDEPEND="=x11-libs/gtk+-1.2*" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PV}-as-needed.patch + WANT_AUTOMAKE="1.4" \ + automake --add-missing --copy \ + || die "automake failed" + WANT_AUTOCONF="2.1" \ + autoconf \ + || die "autoconf failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" +} |