/[gentoo-x86]/sci-biology/clustalx/clustalx-1.83-r2.ebuild
Gentoo

Contents of /sci-biology/clustalx/clustalx-1.83-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Mon Mar 11 15:02:36 2013 UTC (19 months, 1 week ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
sci-biology/clustalx: Drop Andrey as maintainer so that bugs get assigned to sci-biology directly; drop old ebuild because of missing deps

(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-biology/clustalx/clustalx-1.83-r2.ebuild,v 1.11 2012/10/24 19:29:39 ulm Exp $
4
5 EAPI=1
6
7 inherit toolchain-funcs eutils
8
9 DESCRIPTION="Graphical interface for the ClustalW multiple alignment program"
10 HOMEPAGE="http://www-igbmc.u-strasbg.fr/BioInfo/ClustalX/"
11 SRC_URI="ftp://ftp-igbmc.u-strasbg.fr/pub/ClustalX/clustalx1.83.sun.tar.gz"
12 LICENSE="public-domain"
13
14 SLOT="0"
15 KEYWORDS="~sparc"
16 IUSE=""
17
18 DEPEND="sci-biology/clustalw:1
19 sci-biology/ncbi-tools
20 >=x11-libs/motif-2.3:0
21 x11-libs/libXpm"
22
23 S="${WORKDIR}/${PN}${PV}.sun"
24
25 pkg_setup() {
26 if ! built_with_use sci-biology/ncbi-tools X; then
27 echo
28 eerror "ClustalX requires the Vibrant toolkit, which is part of the"
29 eerror "optional X support in the \"sci-biology/ncbi-tools\" package."
30 eerror "To install ClustalX on your system, first recompile"
31 eerror "\"sci-biology/ncbi-tools\" with the \"X\" USE flag enabled,"
32 eerror "then try to install ClustalX again."
33 die "X support not enabled in \"sci-biology/ncbi-tools\""
34 fi
35 }
36
37 src_unpack() {
38 unpack ${A}
39 cd "${S}"
40 cp makefile.linux makefile
41 sed -e "s/CC = cc/CC = $(tc-getCC)/" \
42 -e "s/CFLAGS = -c -O/CFLAGS = -c ${CFLAGS}/" \
43 -e "s/LFLAGS = -O -lm/LFLAGS = -lm ${CFLAGS}/" \
44 -e "s%-I/usr/bio/src/ncbi/include%-I/usr/include/ncbi%" \
45 -e "s%-L/usr/bio/src/ncbi/lib -L/usr/ccs/lib -L/usr/X11R6/lib%-L/usr/lib -L/usr/X11R6/lib%" \
46 -i makefile || die
47 sed -i -e "s%clustalx_help%/usr/share/doc/${PF}/clustalx_help%" clustalx.c || die
48 sed -i -e "s%clustalw.doc%../clustalw.doc%" clustalx.html || die
49 }
50
51 src_compile() {
52 make || die
53 }
54
55 src_install() {
56 dobin clustalx
57
58 dodoc README_X
59 dohtml clustalx.html
60
61 insinto /usr/share/doc/${PF}
62 doins clustalx_help clustalw.doc
63 }

  ViewVC Help
Powered by ViewVC 1.1.20