1 |
ribosome 08/08/26 18:51:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: emboss-6.0.1.ebuild |
5 |
Log: |
6 |
New upstream version. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.47 sci-biology/emboss/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/emboss/ChangeLog?rev=1.47&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/emboss/ChangeLog?rev=1.47&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/emboss/ChangeLog?r1=1.46&r2=1.47 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-biology/emboss/ChangeLog,v |
19 |
retrieving revision 1.46 |
20 |
retrieving revision 1.47 |
21 |
diff -u -r1.46 -r1.47 |
22 |
--- ChangeLog 25 Jan 2008 23:51:41 -0000 1.46 |
23 |
+++ ChangeLog 26 Aug 2008 18:51:27 -0000 1.47 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sci-biology/emboss |
26 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/emboss/ChangeLog,v 1.46 2008/01/25 23:51:41 markusle Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/emboss/ChangeLog,v 1.47 2008/08/26 18:51:27 ribosome Exp $ |
29 |
+ |
30 |
+*emboss-6.0.1 (26 Aug 2008) |
31 |
+ |
32 |
+ 26 Aug 2008; Olivier Fisette <ribosome@g.o> +emboss-6.0.1.ebuild: |
33 |
+ New upstream version. |
34 |
|
35 |
25 Jan 2008; Markus Dittrich <markusle@g.o> |
36 |
+files/emboss-5.0.0-as-needed.patch, emboss-4.0.0.ebuild, |
37 |
|
38 |
|
39 |
|
40 |
1.1 sci-biology/emboss/emboss-6.0.1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/emboss/emboss-6.0.1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/emboss/emboss-6.0.1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: emboss-6.0.1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/sci-biology/emboss/emboss-6.0.1.ebuild,v 1.1 2008/08/26 18:51:27 ribosome Exp $ |
50 |
|
51 |
inherit eutils |
52 |
|
53 |
DESCRIPTION="The European Molecular Biology Open Software Suite - A sequence analysis package" |
54 |
HOMEPAGE="http://emboss.sourceforge.net/" |
55 |
SRC_URI="ftp://${PN}.open-bio.org/pub/EMBOSS/EMBOSS-${PV}.tar.gz" |
56 |
LICENSE="GPL-2 LGPL-2" |
57 |
|
58 |
SLOT="0" |
59 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
60 |
IUSE="X png minimal" |
61 |
|
62 |
DEPEND="X? ( x11-libs/libXt ) |
63 |
png? ( |
64 |
sys-libs/zlib |
65 |
media-libs/libpng |
66 |
media-libs/gd |
67 |
) |
68 |
!minimal? ( |
69 |
sci-biology/primer3 |
70 |
sci-biology/clustalw |
71 |
)" |
72 |
|
73 |
PDEPEND="!minimal? ( |
74 |
sci-biology/aaindex |
75 |
sci-biology/cutg |
76 |
sci-biology/prints |
77 |
sci-biology/prosite |
78 |
>=sci-biology/rebase-707 |
79 |
sci-biology/transfac |
80 |
)" |
81 |
|
82 |
S="${WORKDIR}/EMBOSS-${PV}" |
83 |
|
84 |
src_unpack() { |
85 |
unpack ${A} |
86 |
cd "${S}" |
87 |
epatch "${FILESDIR}"/${PN}-5.0.0-as-needed.patch |
88 |
|
89 |
local link_string="-lX11"; |
90 |
if use png; then |
91 |
link_string="${link_string} -lgd -lpng" |
92 |
fi |
93 |
sed -e "s:PATCH_PLPLOT:${link_string}:" -i plplot/Makefile.in \ |
94 |
|| die "Failed to patch ajax Makefile" |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
EXTRA_CONF="--includedir=${D}/usr/include/emboss" |
99 |
! use X && EXTRA_CONF="${EXTRA_CONF} --without-x" |
100 |
! use png && EXTRA_CONF="${EXTRA_CONF} --without-pngdriver" |
101 |
|
102 |
econf ${EXTRA_CONF} || die |
103 |
# Do not install the JEMBOSS component (the --without-java configure option |
104 |
# does not work). JEMBOSS will eventually be available as a separate package. |
105 |
sed -i -e "s/SUBDIRS = plplot ajax nucleus emboss test doc jemboss/SUBDIRS = plplot ajax nucleus emboss test doc/" \ |
106 |
Makefile || die |
107 |
emake || die |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
einstall || die "Failed to install program files." |
112 |
|
113 |
dodoc AUTHORS ChangeLog FAQ NEWS README THANKS \ |
114 |
|| die "Failed to install documentation." |
115 |
newdoc "${FILESDIR}"/${PN}-README.Gentoo-1 README.Gentoo \ |
116 |
|| die "Failed to install Gentoo readme file." |
117 |
|
118 |
# Install env file for setting libplplot and acd files path. |
119 |
cat <<- EOF > 22emboss |
120 |
# plplot libs dir |
121 |
PLPLOT_LIB="/usr/share/EMBOSS/" |
122 |
# ACD files location |
123 |
EMBOSS_ACDROOT="/usr/share/EMBOSS/acd" |
124 |
EOF |
125 |
doenvd 22emboss || die "Failed to install environment file." |
126 |
|
127 |
# Symlink preinstalled docs to "/usr/share/doc". |
128 |
dosym /usr/share/EMBOSS/doc/manuals /usr/share/doc/${PF}/manuals || die |
129 |
dosym /usr/share/EMBOSS/doc/programs /usr/share/doc/${PF}/programs || die |
130 |
dosym /usr/share/EMBOSS/doc/tutorials /usr/share/doc/${PF}/tutorials || die |
131 |
dosym /usr/share/EMBOSS/doc/html /usr/share/doc/${PF}/html || die |
132 |
|
133 |
# Remove useless dummy files from the image. |
134 |
rm "${D}"/usr/share/EMBOSS/data/{AAINDEX,PRINTS,PROSITE,REBASE}/dummyfile \ |
135 |
|| die "Failed to remove dummy files." |
136 |
|
137 |
# Move the provided codon files to a different directory. This will avoid |
138 |
# user confusion and file collisions on case-insensitive file systems (see |
139 |
# bug #115446). This change is documented in "README.Gentoo". |
140 |
mv "${D}"/usr/share/EMBOSS/data/CODONS \ |
141 |
"${D}"/usr/share/EMBOSS/data/CODONS.orig || \ |
142 |
die "Failed to move CODON directory." |
143 |
|
144 |
# Move the provided restriction enzyme prototypes file to a different name. |
145 |
# This avoids file collisions with versions of rebase that install their |
146 |
# own enzyme prototypes file (see bug #118832). |
147 |
mv "${D}"/usr/share/EMBOSS/data/embossre.equ \ |
148 |
"${D}"/usr/share/EMBOSS/data/embossre.equ.orig || \ |
149 |
die "Failed to move enzyme equivalence file." |
150 |
} |