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/psipred: metadata.xml ChangeLog psipred-2.6.1.ebuild
Date: Sat, 27 Feb 2010 10:01:55
Message-Id: E1NlJUf-0004rA-48@stork.gentoo.org
1 jlec 10/02/27 10:01:53
2
3 Added: metadata.xml ChangeLog psipred-2.6.1.ebuild
4 Log:
5 Imported from sci overlay
6 (Portage version: 2.2_rc63/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sci-chemistry/psipred/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/psipred/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/psipred/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>sci</herd>
20 <maintainer>
21 <email>jlec@g.o</email>
22 </maintainer>
23 </pkgmetadata>
24
25
26
27 1.1 sci-chemistry/psipred/ChangeLog
28
29 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/psipred/ChangeLog?rev=1.1&view=markup
30 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/psipred/ChangeLog?rev=1.1&content-type=text/plain
31
32 Index: ChangeLog
33 ===================================================================
34 # ChangeLog for sci-chemistry/psipred
35 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
36 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/psipred/ChangeLog,v 1.1 2010/02/27 10:01:52 jlec Exp $
37
38 *psipred-2.6.1 (27 Feb 2010)
39
40 27 Feb 2010; Justin Lecher (jlec) <jlec@g.o>
41 +files/2.6.1-Makefile.patch, +files/2.6.1-path.patch,
42 +psipred-2.6.1.ebuild, +metadata.xml:
43 Imported from sci overlay
44
45
46
47
48 1.1 sci-chemistry/psipred/psipred-2.6.1.ebuild
49
50 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/psipred/psipred-2.6.1.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/psipred/psipred-2.6.1.ebuild?rev=1.1&content-type=text/plain
52
53 Index: psipred-2.6.1.ebuild
54 ===================================================================
55 # Copyright 1999-2010 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/psipred/psipred-2.6.1.ebuild,v 1.1 2010/02/27 10:01:52 jlec Exp $
58
59 EAPI="3"
60
61 inherit eutils prefix toolchain-funcs versionator
62
63 MY_P="${PN}$(delete_all_version_separators)"
64
65 DESCRIPTION="Protein Secondary Structure Prediction"
66 HOMEPAGE="http://bioinf.cs.ucl.ac.uk/psipred/"
67 SRC_URI="http://bioinf.cs.ucl.ac.uk/downloads/${PN}/${MY_P}.tar.gz"
68
69 LICENSE="psipred"
70 SLOT="0"
71 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
72 IUSE=""
73
74 RDEPEND="
75 sci-biology/ncbi-tools
76 sci-biology/ncbi-tools++"
77
78 S="${WORKDIR}"
79
80 src_prepare() {
81 epatch "${FILESDIR}"/${PV}-Makefile.patch
82 epatch "${FILESDIR}"/${PV}-path.patch
83 eprefixify runpsipred*
84 }
85
86 src_compile() {
87 emake -C src CC=$(tc-getCC) || die "emake failed"
88 }
89
90 src_install() {
91 emake -C src DESTDIR="${D}" install || die "installation failed"
92 dobin runpsipred* || die
93 insinto /usr/share/${PN}
94 doins -r data || die "failed to install data"
95 dodoc README || die "nothing to read"
96 }
97
98 pkg_postinst() {
99 elog "Please use the update_blastdb.pl in order to"
100 elog "maintain your own local blastdb"
101 }