--- bbtime-0.1.5.ebuild.orig 2010-01-08 16:24:36.101322449 +0100 +++ bbtime-0.1.5.ebuild 2010-01-08 16:23:24.486573466 +0100 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/bbtime/bbtime-0.1.5.ebuild,v 1.8 2006/12/07 02:28:31 flameeyes Exp $ +inherit eutils autotools + DESCRIPTION="blackbox time watcher" HOMEPAGE="http://bbtools.windsofstorm.net/available.phtml#bbtime" SRC_URI="http://bbtools.windsofstorm.net/sources/${P}.tar.gz" @@ -13,6 +15,13 @@ DEPEND="virtual/blackbox" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-as-needed.patch + eautoreconf +} + src_install () { make DESTDIR="${D}" install || die "make install failed" dodoc README COPYING AUTHORS BUGS INSTALL ChangeLog NEWS TODO