# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit toolchain-funcs flag-o-matic DESCRIPTION="miRanda is an algorithm for finding genomic targets for microRNAs" HOMEPAGE="http://www.microrna.org/miranda_new.html" MY_PF="miRanda-1.9.source.tar.gz" MY_PN="miRanda" MY_P="${MY_PN}-${PV}" SRC_URI="http://www.microrna.org/src1.9/${MY_PF}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~alpha ~amd64 ~ia64" IUSE="" DEPEND="" RDEPEND="" S="${WORKDIR}/${MY_P}" src_unpack() { unpack ${A} cd "${S}" } src_compile() { cd "${WORKDIR}/${MY_P}" econf \ || die "configure failed" # since it creates ia64 binaries on every arch # I made this workaround: make clean before compile # it works... make clean && emake \ CC="$(tc-getCC)" \ || die "make failed" } src_install() { einstall \ || die "install failed" }