1 |
markusle 08/09/12 14:06:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: meme-3.5.7.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-SENTINEL-2 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.8 sci-biology/meme/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/meme/ChangeLog?rev=1.8&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/meme/ChangeLog?rev=1.8&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/meme/ChangeLog?r1=1.7&r2=1.8 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-biology/meme/ChangeLog,v |
19 |
retrieving revision 1.7 |
20 |
retrieving revision 1.8 |
21 |
diff -u -r1.7 -r1.8 |
22 |
--- ChangeLog 14 Jun 2008 12:34:50 -0000 1.7 |
23 |
+++ ChangeLog 12 Sep 2008 14:06:53 -0000 1.8 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sci-biology/meme |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/meme/ChangeLog,v 1.7 2008/06/14 12:34:50 markusle Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/meme/ChangeLog,v 1.8 2008/09/12 14:06:53 markusle Exp $ |
29 |
+ |
30 |
+*meme-3.5.7 (12 Sep 2008) |
31 |
+ |
32 |
+ 12 Sep 2008; Markus Dittrich <markusle@g.o> +meme-3.5.7.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
14 Jun 2008; Markus Dittrich <markusle@g.o> -meme-3.5.4.ebuild: |
36 |
Removed old ebuild with bad autotools usage (fixes bug #226609). |
37 |
|
38 |
|
39 |
|
40 |
1.1 sci-biology/meme/meme-3.5.7.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/meme/meme-3.5.7.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/meme/meme-3.5.7.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: meme-3.5.7.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/meme/meme-3.5.7.ebuild,v 1.1 2008/09/12 14:06:53 markusle Exp $ |
50 |
|
51 |
inherit autotools eutils toolchain-funcs |
52 |
|
53 |
DESCRIPTION="The MEME/MAST system - Motif discovery and search" |
54 |
HOMEPAGE="http://meme.sdsc.edu/meme" |
55 |
SRC_URI="http://meme.nbcr.net/downloads/${PN}_${PV}.tar.gz" |
56 |
LICENSE="meme" |
57 |
|
58 |
SLOT="0" |
59 |
KEYWORDS="~x86 ~amd64" |
60 |
# Other possible USE flags include "debug", "client", "server", "web", |
61 |
# "queue". Other variables must be set at compile time, but only when |
62 |
# the Web server is built. Right now, Web server and client are disabled. |
63 |
IUSE="mpi" |
64 |
|
65 |
# Works only with LAM-MPI. |
66 |
DEPEND=">=dev-lang/perl-5.6.1 |
67 |
mpi? ( sys-cluster/lam-mpi )" |
68 |
|
69 |
S="${WORKDIR}/${PN}_${PV}" |
70 |
|
71 |
pkg_setup() { |
72 |
# generate meme group to restrict logging to |
73 |
# /var/log/meme |
74 |
enewgroup meme |
75 |
} |
76 |
|
77 |
src_unpack() { |
78 |
unpack ${A} |
79 |
cd "${S}" |
80 |
epatch "${FILESDIR}/${PN}-3.5.4-Makefile.am.patch" |
81 |
einfo "Regenerating autotools files..." |
82 |
eautoreconf |
83 |
} |
84 |
|
85 |
src_compile() { |
86 |
local EXTRA_CONF |
87 |
# Build system is too bugy to make the programs use standard locations. |
88 |
# Put everything in "/opt" instead. |
89 |
EXTRA_CONF="${EXTRA_CONF} --prefix=/opt/${PN}" |
90 |
EXTRA_CONF="${EXTRA_CONF} --with-logs=/var/log/${PN}" |
91 |
# Connect hyperlinks to official Web site. |
92 |
EXTRA_CONF="${EXTRA_CONF} --with-url=http://meme.nbcr.net/meme" |
93 |
# Disable Web server, client and Web site. |
94 |
EXTRA_CONF="${EXTRA_CONF} --disable-server --disable-client --disable-web" |
95 |
# Parallel implementation |
96 |
if ! use mpi; then |
97 |
EXTRA_CONF="${EXTRA_CONF} --enable-serial" |
98 |
fi |
99 |
|
100 |
./configure ${EXTRA_CONF} || die "Configure failed." |
101 |
CC="$(tc-getCC)" ac_cc_opt="${CFLAGS}" make -e || die "Make failed." |
102 |
|
103 |
# Install parallel files only on x86, otherwise the install fails with the error: |
104 |
# i386 architecture of input file `mp.o' is incompatible with i386:x86-64 output |
105 |
if [[ "${ARCH}" == "x86" ]] ; then |
106 |
if use mpi; then |
107 |
cd src/parallel |
108 |
make || die "Parallel make failed." |
109 |
fi |
110 |
fi |
111 |
} |
112 |
|
113 |
src_install() { |
114 |
make install DESTDIR="${D}" || die "Failed to install program files." |
115 |
exeinto "/opt/${PN}/bin" |
116 |
if [[ "${ARCH}" == "x86" ]] ; then |
117 |
if use mpi; then |
118 |
doexe "${S}/src/parallel/${PN}_p" || \ |
119 |
die "Failed to install parallel MEME implementation." |
120 |
fi |
121 |
fi |
122 |
|
123 |
# allow logging only for members of meme group |
124 |
diropts -m 0770 -g meme -o root |
125 |
keepdir "/var/log/${PN}" |
126 |
} |
127 |
|
128 |
pkg_postinst() { |
129 |
echo |
130 |
einfo 'Prior to using MEME/MAST, you should source "/opt/meme/etc/meme.sh"' |
131 |
einfo '(or "/opt/meme/etc/meme.csh" if you use a csh-style shell). To do' |
132 |
einfo 'this automatically with bash, add the following statement to your' |
133 |
einfo '"~/.bashrc" file (without the quotes): "source /opt/meme/etc/meme.sh".' |
134 |
echo |
135 |
einfo 'Log files are produced in the "/var/log/meme" directory. Users' |
136 |
einfo 'need to be part of the meme group to use this facility.' |
137 |
echo |
138 |
} |
139 |
|
140 |
src_test() { |
141 |
make test || die "Regression tests failed." |
142 |
} |