--- /usr/portage/mail-client/sylpheed-claws-etpan-privacy/sylpheed-claws-etpan-privacy-0.13.ebuild 2006-04-17 21:06:32.000000000 +0200 +++ sylpheed-claws-etpan-privacy-0.13.ebuild 2006-05-20 10:08:00.429471216 +0200 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-client/sylpheed-claws-etpan-privacy/sylpheed-claws-etpan-privacy-0.13.ebuild,v 1.2 2006/04/17 18:40:25 corsair Exp $ +inherit autotools eutils + MY_P="${P##sylpheed-claws-}" MY_P="${MY_P%%[-_]plugin}" SC_BASE="2.0.0" @@ -20,6 +22,16 @@ S="${WORKDIR}/sylpheed-claws-extra-plugins-${SC_BASE}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}/${P}-as-needed.patch" + eautoreconf + elibtoolize +} + src_install() { make DESTDIR="${D}" install dodoc AUTHORS ChangeLog NEWS README