1 |
jlec 11/02/01 09:06:35 |
2 |
|
3 |
Added: metadata.xml ChangeLog cd-hit-4.5.1.ebuild |
4 |
Log: |
5 |
New addition, written by me |
6 |
|
7 |
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-biology/cd-hit/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cd-hit/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cd-hit/metadata.xml?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
<?xml version="1.0" encoding="UTF-8"?> |
18 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
<pkgmetadata> |
20 |
<herd>sci-biology</herd> |
21 |
<maintainer> |
22 |
<email>jlec@g.o</email> |
23 |
</maintainer> |
24 |
<longdescription> |
25 |
CD-HIT is a very widely used program for clustering and comparing large sets |
26 |
of protein or nucleotide sequences. CD-HIT is very fast and can handle |
27 |
extremely large databases. CD-HIT helps to significantly reduce the |
28 |
computational and manual efforts in many sequence analysis tasks and aids in |
29 |
understanding the data structure and correct the bias within a dataset. |
30 |
|
31 |
The CD-HIT package has CD-HIT, CD-HIT-2D, CD-HIT-EST, CD-HIT-EST-2D, |
32 |
CD-HIT-454, CD-HIT-PARA, PSI-CD-HIT and over a dozen scripts. CD-HIT |
33 |
(CD-HIT-EST) clusters similar proteins (DNAs) into clusters that meet a |
34 |
user-defined similarity threshold. CD-HIT-2D (CD-HIT-EST-2D) compares 2 |
35 |
datasets and identifies the sequences in db2 that are similar to db1 above |
36 |
a threshold. CD-HIT-454 is a program to identify natural and artificial |
37 |
duplicates from pyrosequencing reads. The usage of other programs and |
38 |
scripts can be found in CD-HIT user's guide. |
39 |
</longdescription> |
40 |
</pkgmetadata> |
41 |
|
42 |
|
43 |
|
44 |
1.1 sci-biology/cd-hit/ChangeLog |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cd-hit/ChangeLog?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cd-hit/ChangeLog?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: ChangeLog |
50 |
=================================================================== |
51 |
# ChangeLog for sci-biology/cd-hit |
52 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sci-biology/cd-hit/ChangeLog,v 1.1 2011/02/01 09:06:35 jlec Exp $ |
54 |
|
55 |
*cd-hit-4.5.1 (01 Feb 2011) |
56 |
|
57 |
01 Feb 2011; Justin Lecher <jlec@g.o> +files/4.5.1-gentoo.patch, |
58 |
+cd-hit-4.5.1.ebuild, +metadata.xml: |
59 |
New addition, written by me |
60 |
|
61 |
|
62 |
|
63 |
|
64 |
1.1 sci-biology/cd-hit/cd-hit-4.5.1.ebuild |
65 |
|
66 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cd-hit/cd-hit-4.5.1.ebuild?rev=1.1&view=markup |
67 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cd-hit/cd-hit-4.5.1.ebuild?rev=1.1&content-type=text/plain |
68 |
|
69 |
Index: cd-hit-4.5.1.ebuild |
70 |
=================================================================== |
71 |
# Copyright 1999-2011 Gentoo Foundation |
72 |
# Distributed under the terms of the GNU General Public License v2 |
73 |
# $Header: /var/cvsroot/gentoo-x86/sci-biology/cd-hit/cd-hit-4.5.1.ebuild,v 1.1 2011/02/01 09:06:35 jlec Exp $ |
74 |
|
75 |
EAPI="3" |
76 |
|
77 |
inherit flag-o-matic toolchain-funcs |
78 |
|
79 |
RELDATE="2011-01-31" |
80 |
RELEASE="${PN}-v${PV}-${RELDATE}" |
81 |
|
82 |
DESCRIPTION="Clustering Database at High Identity with Tolerance" |
83 |
HOMEPAGE="http://weizhong-lab.ucsd.edu/cd-hit" |
84 |
SRC_URI="http://cdhit.googlecode.com/files/${RELEASE}.tgz" |
85 |
|
86 |
SLOT="0" |
87 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
88 |
LICENSE="GPL-2" |
89 |
IUSE="openmp" |
90 |
|
91 |
S="${WORKDIR}"/${RELEASE} |
92 |
|
93 |
pkg_setup() { |
94 |
use openmp && ! tc-has-openmp && die "Please switch to an openmp compatible compiler" |
95 |
} |
96 |
|
97 |
src_prepare() { |
98 |
tc-export CXX |
99 |
use openmp || append-flags -DNO_OPENMP |
100 |
epatch "${FILESDIR}"/${PV}-gentoo.patch |
101 |
} |
102 |
|
103 |
src_compile() { |
104 |
if use openmp; then |
105 |
emake openmp=yes || die |
106 |
else |
107 |
emake || die |
108 |
fi |
109 |
} |
110 |
|
111 |
src_install() { |
112 |
dobin cd-hit cd-hit-est cd-hit-2d cd-hit-est-2d cd-hit-div *.pl || die |
113 |
dodoc ChangeLog cdhit-user-guide.pdf || die |
114 |
} |