/[gentoo-x86]/sci-biology/mira/mira-3.2.1.ebuild
Gentoo

Contents of /sci-biology/mira/mira-3.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Jun 23 11:17:49 2012 UTC (2 years, 2 months ago) by xarthisius
Branch: MAIN
Changes since 1.1: +17 -12 lines
Don't install docs that are no longer there, thanks to David Abbott for the patch

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 xarthisius 1.2 # Copyright 1999-2012 Gentoo Foundation
2 weaver 1.1 # Distributed under the terms of the GNU General Public License v2
3 xarthisius 1.2 # $Header: /var/cvsroot/gentoo-x86/sci-biology/mira/mira-3.2.1.ebuild,v 1.1 2011/05/21 19:34:23 weaver Exp $
4 weaver 1.1
5     EAPI="3"
6    
7     MIRA_3RDPARTY_PV="17-04-2010"
8    
9     inherit autotools base multilib
10    
11     DESCRIPTION="Whole Genome Shotgun and EST Sequence Assembler for Sanger, 454 and Solexa / Illumina"
12     HOMEPAGE="http://www.chevreux.org/projects_mira.html"
13     SRC_URI="mirror://sourceforge/mira-assembler/${P}.tar.bz2
14     mirror://sourceforge/mira-assembler/mira_3rdparty_${MIRA_3RDPARTY_PV}.tar.bz2"
15    
16     LICENSE="GPL-2"
17     SLOT="0"
18     IUSE=""
19     KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
20    
21     CDEPEND=">=dev-libs/boost-1.41.0-r3
22     dev-util/google-perftools"
23     DEPEND="${CDEPEND}
24     dev-libs/expat"
25     RDEPEND="${CDEPEND}"
26    
27 xarthisius 1.2 DOCS=( AUTHORS GETTING_STARTED NEWS README HELP_WANTED
28     THANKS doc/3rdparty/scaffolding_MIRA_BAMBUS.pdf )
29    
30 weaver 1.1 src_prepare() {
31     find -name 'configure*' -or -name 'Makefile*' | xargs sed -i 's/flex++/flex -+/' || die
32     epatch "${FILESDIR}"/${PN}-3.0.0-asneeded.patch
33     AT_M4DIR="config/m4" eautoreconf
34     }
35    
36     src_configure() {
37     econf \
38     --with-boost="${EPREFIX}"/usr/$(get_libdir) \
39     --with-boost-libdir="${EPREFIX}"/usr/$(get_libdir) \
40     --with-boost-thread=boost_thread-mt
41     }
42    
43 xarthisius 1.2 #src_compile() {
44     # base_src_compile
45     # # TODO: resolve docbook incompatibility for building docs
46     # #if use doc; then emake -C doc clean docs || die; fi
47     #}
48    
49     src_install() {
50     base_src_install
51     dobin "${WORKDIR}"/3rdparty/{sff_extract,qual2ball,*.pl} || die
52 weaver 1.1 }
53    
54 xarthisius 1.2 pkg_postinst() {
55     einfo "Documentation is no longer built, you can find it at:"
56     einfo "http://mira-assembler.sourceforge.net/docs/DefinitiveGuideToMIRA.html"
57 weaver 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20