Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108230 - New ebuild for MAFFT
Summary: New ebuild for MAFFT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-10-05 16:53 UTC by Roby
Modified: 2006-11-09 03:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Attached MAFFT ebuild (mafft-5.732.ebuild,1.33 KB, text/plain)
2005-10-07 12:36 UTC, Roby
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roby 2005-10-05 16:53:45 UTC
Attached is the new ebuild for MAFFT. It's intended to be placed inside sci-biology.

License = mafft
found in their webpage:
http://www.biophys.kyoto-u.ac.jp/~katoh/programs/align/mafft/

"This software is freely available for academic use, without any warranty. 
Commercial distribution of this software, in whole or in part, requires prior
agreement with the authors."

-------------------- ebuild start here --------------------
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit toolchain-funcs

DESCRIPTION="General purpose multiple sequence alignment program for DNA and
proteins using Fast Fourier Transform"
HOMEPAGE="http://www.biophys.kyoto-u.ac.jp/~katoh/programs/align/mafft/"
SRC_URI="http://www.biophys.kyoto-u.ac.jp/~katoh/programs/align/mafft/${PF}-src.tgz"

LICENSE="mafft"
SLOT="0"
KEYWORDS="alpha amd64 ppc ppc-macos ppc64 sparc x86"
IUSE=""

DEPEND="virtual/libc"

S=${WORKDIR}/${PF}/src

src_unpack(){
	unpack ${A}
	cd ${S}
	sed -i \
	-e 's@PREFIX = \\\/usr\\\/local\\\/lib\\\/mafft@PREFIX = \\\/usr\\\/bin@' \
	-e "s/CC = gcc -O3 /CC	= $(tc-getCC)/" \
	-e "s/\#CFLAG =   -ansi -pedantic/CFLAG  = ${CFLAGS}/" \
	-e "s/LIBS	= -lm/LFLAGS	= -lm ${CFLAGS}/" Makefile || die
}

src_compile() {
	emake || die
}

src_install() {

	cd ${S}/../binaries
	dobin dvtditr dndfast7 dndblast sextet5 pairalign pairlocalalign disttbfast
tbfast tbfast2 mafft-profile f2cl score getlag dndpre dndpre2 splitseq setcore
|| die
	cd ${S}/../scripts

	ln -s mafft fftns
	ln -s mafft fftnsi
	ln -s mafft nwns
	ln -s mafft nwnsi
	ln -s mafft linsi
	ln -s mafft ginsi
	dobin mafft fftns fftnsi nwns nwnsi linsi ginsi || die
}


Reproducible: Always
Steps to Reproduce:
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-05 17:31:48 UTC
- Don't inline, attach the ebuild, please.
Comment 2 Roby 2005-10-07 12:36:23 UTC
Created attachment 70114 [details]
Attached MAFFT ebuild

Requested ebuild
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-09 03:07:55 UTC
*mafft-5.861 (21 Oct 2006)

  21 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>; +metadata.xml,
  +mafft-5.861.ebuild:
  New package: Multiple sequence alignments using a variety of algorithms.