--- lintar-0.6.2.ebuild.orig 2010-02-06 20:54:45.000000000 +0100 +++ lintar-0.6.2.ebuild 2010-02-06 20:56:15.000000000 +0100 @@ -1,7 +1,11 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/lintar/lintar-0.6.2.ebuild,v 1.3 2006/10/23 07:02:55 omp Exp $ +WANT_AUTOMAKE="1.9" + +inherit eutils autotools + DESCRIPTION="A decompressing tool written in GTK+." HOMEPAGE="http://lintar.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" @@ -16,6 +20,13 @@ DEPEND="${RDEPEND} dev-util/pkgconfig" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-as-needed.patch" + eautoreconf +} + src_install() { make DESTDIR="${D}" install || die "make install failed" dodoc ABOUT-NLS AUTHORS BUGS ChangeLog README NEWS TODO