Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/theseus: ChangeLog theseus-2.0.6.ebuild
Date: Thu, 06 Jun 2013 14:18:01
Message-Id: 20130606141755.696182171D@flycatcher.gentoo.org
1 jlec 13/06/06 14:17:55
2
3 Modified: ChangeLog
4 Added: theseus-2.0.6.ebuild
5 Log:
6 sci-chemistry/theseus: Version BUmp; fix double prefix
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
9
10 Revision Changes Path
11 1.8 sci-chemistry/theseus/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/theseus/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/theseus/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/theseus/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/theseus/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 29 May 2013 06:13:10 -0000 1.7
24 +++ ChangeLog 6 Jun 2013 14:17:55 -0000 1.8
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-chemistry/theseus
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/theseus/ChangeLog,v 1.7 2013/05/29 06:13:10 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/theseus/ChangeLog,v 1.8 2013/06/06 14:17:55 jlec Exp $
30 +
31 +*theseus-2.0.6 (06 Jun 2013)
32 +
33 + 06 Jun 2013; Justin Lecher <jlec@g.o> +theseus-2.0.6.ebuild:
34 + Version BUmp; fix double prefix
35
36 *theseus-2.0.3 (29 May 2013)
37
38
39
40
41 1.1 sci-chemistry/theseus/theseus-2.0.6.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/theseus/theseus-2.0.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/theseus/theseus-2.0.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: theseus-2.0.6.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/theseus/theseus-2.0.6.ebuild,v 1.1 2013/06/06 14:17:55 jlec Exp $
51
52 EAPI=5
53
54 inherit multilib toolchain-funcs
55
56 DESCRIPTION="Maximum likelihood superpositioning and analysis of macromolecular structures"
57 HOMEPAGE="http://www.theseus3d.org/"
58 SRC_URI="http://www.theseus3d.org/src/${PN}_${PV}.tar.gz"
59
60 SLOT="0"
61 LICENSE="GPL-3"
62 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
63 IUSE="examples"
64
65 RDEPEND="
66 sci-libs/gsl
67 || (
68 sci-biology/muscle
69 sci-biology/probcons
70 sci-biology/mafft
71 sci-biology/t-coffee
72 sci-biology/kalign
73 sci-biology/clustalw
74 )"
75 DEPEND="${RDEPEND}
76 virtual/pkgconfig"
77
78 S="${WORKDIR}"/${PN}_src/
79
80 src_prepare() {
81 cat >> make.inc <<- EOF
82 ARCH = $(tc-getAR)
83 ARCHFLAGS = -rvs
84 RANLIB = $(tc-getRANLIB)
85 LOCALLIBDIR = "${EPREFIX}/usr/$(get_libdir)
86 SYSLIBS = $(pkg-config --libs gsl) -lpthread
87 LIBS = -ldistfit -lmsa -ldssplite -ldltmath -lDLTutils -ltheseus
88 LIBDIR = -L./lib
89 INSTALLDIR = "${ED}"/usr/bin
90 OPT =
91 WARN =
92 CFLAGS = ${CFLAGS} \$(WARN)
93 CC = $(tc-getCC)
94 EOF
95
96 sed \
97 -e 's|theseus:|theseus: libs|g' \
98 -e '/-o theseus/s:$(CC):$(CC) ${LDFLAGS}:g' \
99 -i Makefile || die
100
101 sed \
102 -e 's:/usr/bin/sed:sed:g' \
103 -e "s:/usr/local/bin/:/usr/bin/:g" \
104 -e "s:/usr/bin/:${EPREFIX}/usr/bin/:g" \
105 -i theseus_align || die
106 }
107
108 src_install() {
109 dobin theseus theseus_align
110 dodoc theseus_man.pdf README AUTHORS
111 use examples && insinto /usr/share/${PN} && doins -r examples
112 }