diff options
Diffstat (limited to 'sci-biology/amap/amap-2.2.ebuild')
-rw-r--r-- | sci-biology/amap/amap-2.2.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sci-biology/amap/amap-2.2.ebuild b/sci-biology/amap/amap-2.2.ebuild new file mode 100644 index 000000000000..d87f645770f2 --- /dev/null +++ b/sci-biology/amap/amap-2.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/amap/amap-2.2.ebuild,v 1.1 2008/04/17 18:20:13 markusle Exp $ + +inherit eutils toolchain-funcs + +MY_P="${PN}.${PV}" +DESCRIPTION="Protein multiple-alignment-based sequence annealing" +HOMEPAGE="http://bio.math.berkeley.edu/amap/" +SRC_URI="http://baboon.math.berkeley.edu/amap/download/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +RDEPEND="" +DEPEND="${RDEPEND}" +S="${WORKDIR}/${PN}-align" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-cxxflags.patch + epatch "${FILESDIR}"/${P}-gcc4.3.patch +} + +src_compile() { + cd "${S}"/align + emake \ + CXX="$(tc-getCXX)" \ + OPT_CXXFLAGS="${CXXFLAGS}" \ + || die "make failed" +} + +src_install() { + dobin align/${PN} + dodoc align/README align/PROBCONS.README + insinto /usr/share/${PN}/examples + doins examples/* || die "Failed to install examples" +} |