--- /usr/portage/app-shells/pdsh/pdsh-2.26.ebuild 2014-08-10 20:31:04.000000000 +0200 +++ pdsh-2.31.ebuild 2014-10-18 00:20:39.438093166 +0200 @@ -4,9 +4,11 @@ EAPI="2" +inherit autotools + DESCRIPTION="A high-performance, parallel remote shell utility" HOMEPAGE="https://computing.llnl.gov/linux/pdsh.html" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +SRC_URI="https://${PN}.googlecode.com/archive/${P}.zip" LICENSE="GPL-2" SLOT="0" @@ -17,6 +19,7 @@ rsh? ( net-misc/netkit-rsh ) readline? ( sys-libs/readline )" DEPEND="${RDEPEND} + app-arch/unzip test? ( dev-util/dejagnu )" pkg_setup() { @@ -37,6 +40,16 @@ elog "PDSH_MODULE_LIST=\"module1 module2...\"" } +src_prepare() { + # non-standard directory name + cd ${PN}-* + S=`pwd` + # broken timestamps + find . -print0 | xargs -0 touch + # a configure file which isn't executable + chmod +x "${S}/configure" +} + src_configure() { econf ${MODULE_CONFIG} \ --with-machines \