# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="3" DESCRIPTION="Seq-Gen is a program that will simulate the evolution of nucleotide or amino acid sequences along a phylogeny" HOMEPAGE="http://tree.bio.ed.ac.uk/software/seqgen/" SRC_URI="http://tree.bio.ed.ac.uk/download.php?id=41&num=1 -> $P.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="~amd64" IUSE="" RDEPEND="" DEPEND=$RDEPEND src_unpack() { unpack $A mv $WORKDIR/Seq-Gen.v1.3.2 $WORKDIR/$P cat $WORKDIR/$P/source/Makefile|grep --invert-match "CFLAGS = -O3" > $WORKDIR/$P/source/Makefile2 rm $WORKDIR/$P/source/Makefile;mv $WORKDIR/$P/source/Makefile2 $WORKDIR/$P/source/Makefile } src_compile() { cd $WORKDIR/$P/source emake -C $WORKDIR/$P/source|| die } src_install() { mkdir -p $D/usr/bin mv $WORKDIR/$P/source/seq-gen $D/usr/bin }