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