summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-03-07 20:56:03 +0000
committerJustin Lecher <jlec@gentoo.org>2010-03-07 20:56:03 +0000
commita0d863d9d2fb1f93d287dd22d5c4d8375cc7ac2d (patch)
tree81a6590b0e4a6ef75c7eb5723b776f025408cccf /sci-biology
parentMoved to EAPI=3 for PREFIX support, imported prefix patches from overlay, key... (diff)
downloadgentoo-2-a0d863d9d2fb1f93d287dd22d5c4d8375cc7ac2d.tar.gz
gentoo-2-a0d863d9d2fb1f93d287dd22d5c4d8375cc7ac2d.tar.bz2
gentoo-2-a0d863d9d2fb1f93d287dd22d5c4d8375cc7ac2d.zip
Moved to EAPI=3 for PREFIX support, imported prefix patches from overlay, keyworded as in overlay
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/meme/ChangeLog8
-rw-r--r--sci-biology/meme/meme-4.3.0-r1.ebuild64
2 files changed, 71 insertions, 1 deletions
diff --git a/sci-biology/meme/ChangeLog b/sci-biology/meme/ChangeLog
index eead4aac10cd..e136263f8321 100644
--- a/sci-biology/meme/ChangeLog
+++ b/sci-biology/meme/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-biology/meme
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/meme/ChangeLog,v 1.13 2010/01/03 14:12:59 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/meme/ChangeLog,v 1.14 2010/03/07 20:56:03 jlec Exp $
+
+*meme-4.3.0-r1 (07 Mar 2010)
+
+ 07 Mar 2010; Justin Lecher (jlec) <jlec@gentoo.org> +meme-4.3.0-r1.ebuild:
+ Moved to EAPI=3 for PREFIX support, imported prefix patches from overlay,
+ keyworded as in overlay
03 Jan 2010; Pacho Ramos <pacho@gentoo.org> meme-4.3.0.ebuild:
amd64 stable, bug 298760
diff --git a/sci-biology/meme/meme-4.3.0-r1.ebuild b/sci-biology/meme/meme-4.3.0-r1.ebuild
new file mode 100644
index 000000000000..2b8bc777833a
--- /dev/null
+++ b/sci-biology/meme/meme-4.3.0-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/meme/meme-4.3.0-r1.ebuild,v 1.1 2010/03/07 20:56:03 jlec Exp $
+
+EAPI="3"
+
+inherit autotools eutils
+
+DESCRIPTION="The MEME/MAST system - Motif discovery and search"
+HOMEPAGE="http://meme.sdsc.edu/meme"
+SRC_URI="http://meme.nbcr.net/downloads/${PN}_${PV}.tar.gz"
+LICENSE="meme"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+IUSE="mpi"
+
+DEPEND="dev-libs/libxml2
+ dev-libs/libxslt
+ app-shells/tcsh
+ mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}_${PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-4.0.0-Makefile.am.patch
+ eautoreconf
+}
+
+src_configure() {
+ MY_PREFIX="${EROOT}opt/meme"
+ USE_DISABLE_MPI=""; if ! use mpi; then USE_DISABLE_MPI="--enable-serial"; fi
+ econf --prefix=$MY_PREFIX --sysconfdir=${MY_PREFIX}/etc \
+ --with-logs="${EROOT}var/log/meme" \
+ $USE_DISABLE_MPI
+ # $(use_enable openmp)
+}
+
+#pkg_setup() {
+ # generate meme group to restrict logging to /var/log/meme
+# enewgroup meme
+#}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "Failed to install program files."
+ echo "PATH=${EPREFIX}/opt/${PN}/bin" > 99${PN}
+ doenvd 99${PN} || die
+ # allow logging only for members of meme group
+ # diropts -m 0770 -g meme -o root
+ diropts -m ugo+rwxt -o root
+ keepdir /var/log/meme
+}
+
+#pkg_postinst() {
+# einfo 'Log files are produced in the "/var/log/meme" directory. Users'
+# einfo 'need to be part of the meme group to use this facility.'
+#}
+
+src_test() {
+ # bug #297070
+ emake -j1 test || die "Regression tests failed."
+}