diff options
Diffstat (limited to 'sci-biology/sff_dump/sff_dump-1.04.ebuild')
-rw-r--r-- | sci-biology/sff_dump/sff_dump-1.04.ebuild | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/sci-biology/sff_dump/sff_dump-1.04.ebuild b/sci-biology/sff_dump/sff_dump-1.04.ebuild index 136e7276b..b0942764d 100644 --- a/sci-biology/sff_dump/sff_dump-1.04.ebuild +++ b/sci-biology/sff_dump/sff_dump-1.04.ebuild @@ -1,28 +1,30 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=3 +EAPI=4 -DESCRIPTION="Convert Roche SFF files to FASTA file format (alternative to sffdump from Roche and sff_extract from mira)" +inherit toolchain-funcs + +DESCRIPTION="Convert Roche SFF files to FASTA file format" HOMEPAGE="http://genome.imb-jena.de/software/roche454ace2caf" -SRC_URI="http://genome.imb-jena.de/software/roche454ace2caf/download/src/sff_dump-1.04.tgz" +SRC_URI="http://genome.imb-jena.de/software/roche454ace2caf/download/src/${P}.tgz" LICENSE="FLI-Jena" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="" -RDEPEND="${DEPEND}" - src_prepare(){ - sed -i 's:^CC :#CC :' Makefile - sed -i 's:^LD :#LD :' Makefile - sed -i 's:^CFLAGS.*:CFLAGS+= -D__LINUX__ -Wcast-align:' Makefile - sed -i 's:^LDFLAGS=:#LDFLAGS=:' Makefile + sed \ + -e 's:^CC :#CC :' \ + -e 's:^LD :#LD :' \ + -e 's:^CFLAGS.*:CFLAGS+= -D__LINUX__ -Wcast-align:' \ + -e 's:^LDFLAGS=:#LDFLAGS=:' \ + -i Makefile || die + tc-export CC LD } src_install(){ - dobin sff_dump || die + dobin sff_dump } |