# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils toolchain-funcs DESCRIPTION="Consed: a genome sequence finishing program" HOMEPAGE="http://bozeman.mbt.washington.edu/consed/consed.html" SRC_URI="consed-19-sources.tar.gz" LICENSE="phrap" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="x11-libs/openmotif" RDEPEND="${DEPEND} dev-lang/perl >=sci-biology/phrap-1.080721" S="${WORKDIR}" RESTRICT="fetch" pkg_nofetch() { einfo "Please visit ${HOMEPAGE} and obtain the file" einfo "\"sources.tar.gz\", then rename it to \"consed-${PV}-sources.tar.gz\"" einfo "and put it in ${DISTDIR}" } src_unpack() { unpack ${A} # todo: cflags sed -i '/#include/ s///' "${S}/main.cpp" || die sed -i '/lib/ s/X11R6//g' "${S}/makefile" || die } src_compile() { emake || die } src_install() { dobin consed dodoc README.txt }