# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-biology/bfast/bfast-0.6.2a.ebuild,v 1.1 2010/01/21 18:25:31 weaver Exp $ EAPI="2" inherit autotools DESCRIPTION="Blat-like Fast Accurate Search Tool" HOMEPAGE="http://genome.ucla.edu/bfast" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="" KEYWORDS="~amd64 ~x86" DEPEND="" RDEPEND="dev-perl/XML-Simple" src_prepare() { sed -i -e 's/-m64//' \ -e 's/CFLAGS="${default_CFLAGS} ${extended_CFLAGS}"/CFLAGS="${CFLAGS} ${default_CFLAGS} ${extended_CFLAGS}"/' \ configure.ac || die eautoreconf } src_install() { einstall || die dodoc AUTHORS NEWS README } src_test() { # not sure why this is necessary sed -i 's|test.definitions.sh|./test.definitions.sh|' tests/*.sh # problems with checksum matching - also not sure why sed -i '/test.diff.sh/ d' tests/Makefile emake check || die }