# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils flag-o-matic DESCRIPTION="A fully developed set of DNA sequence assembly (Gap4), editing and analysis tools (Spin)." HOMEPAGE="http://sourceforge.net/projects/staden" SRC_URI="http://downloads.sourceforge.net/staden/staden-2.0.0b7-src.tar.gz" LICENSE="" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="fortran X amd64 png samtools curl tcl tk zlib tklib itcl itk iwidgets" # either g77 or gfortran must be available # edit src/mk/linux.mk accordingly # # this is a glibc-2.9 issue, see https://sourceforge.net/tracker/index.php?func=detail&aid=2629155&group_id=100316&atid=627058 # # # DEPEND=">=dev-lang/tk-8.4 >=dev-lang/tcl-8.4 dev-tcltk/tklib >=sci-libs/io_lib-1.12.2 >=sys-libs/zlib-1.2 >=media-libs/libpng-1.2 sci-biology/samtools >=app-arch/xz-utils-4.999" RDEPEND="tcl? ( >=dev-tcltk/itcl-3.2 ) tk? ( >=dev-tcltk/itk-3.2 ) >=dev-tcltk/iwidgets-4.0" src_compile() { cd ${WORKDIR}/staden-2.0.0b6-src || die "Cannot cd ${WORKDIR}/staden-2.0.0b6-src" local myconf use X && myconf=" --with-x" use amd64 && myconf=+" --enable-64bit" econf ${myconf} || die "configure failed" emake || die "emake failed" } src_install() { emake install || die "emake install failed" }