public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-biology/gibbs: ChangeLog gibbs-3.1.ebuild gibbs-1995.9.ebuild
@ 2012-04-26 16:17 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2012-04-26 16:17 UTC (permalink / raw
  To: gentoo-commits

jlec        12/04/26 16:17:09

  Modified:             ChangeLog gibbs-3.1.ebuild
  Removed:              gibbs-1995.9.ebuild
  Log:
  sci-biology/gibbs: Move to EAPI=4, drop old
  
  (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

Revision  Changes    Path
1.9                  sci-biology/gibbs/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/gibbs/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/gibbs/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/gibbs/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-biology/gibbs/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	28 Dec 2009 23:49:26 -0000	1.8
+++ ChangeLog	26 Apr 2012 16:17:09 -0000	1.9
@@ -1,6 +1,10 @@
 # ChangeLog for sci-biology/gibbs
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/gibbs/ChangeLog,v 1.8 2009/12/28 23:49:26 maekke Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/gibbs/ChangeLog,v 1.9 2012/04/26 16:17:09 jlec Exp $
+
+  26 Apr 2012; Justin Lecher <jlec@gentoo.org> gibbs-3.1.ebuild,
+  -gibbs-1995.9.ebuild:
+  Move to EAPI=4, drop old
 
   28 Dec 2009; Markus Meier <maekke@gentoo.org> gibbs-3.1.ebuild:
   x86 stable, bug #290933



1.6                  sci-biology/gibbs/gibbs-3.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/gibbs/gibbs-3.1.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/gibbs/gibbs-3.1.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/gibbs/gibbs-3.1.ebuild?r1=1.5&r2=1.6

Index: gibbs-3.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-biology/gibbs/gibbs-3.1.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- gibbs-3.1.ebuild	28 Dec 2009 23:49:26 -0000	1.5
+++ gibbs-3.1.ebuild	26 Apr 2012 16:17:09 -0000	1.6
@@ -1,12 +1,14 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/gibbs/gibbs-3.1.ebuild,v 1.5 2009/12/28 23:49:26 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/gibbs/gibbs-3.1.ebuild,v 1.6 2012/04/26 16:17:09 jlec Exp $
 
-EAPI="2"
+EAPI=4
 
-inherit autotools
+AUTOTOOLS_AUTORECONF=yes
 
-DESCRIPTION="The Gibbs Motif Sampler identifies motifs, conserved regions, in DNA or protein sequences"
+inherit autotools-utils multilib
+
+DESCRIPTION="Identify motifs, conserved regions, in DNA or protein sequences"
 HOMEPAGE="http://bayesweb.wadsworth.org/gibbs/gibbs.html"
 SRC_URI="mirror://gentoo/gibbs-${PV}.tar.gz"
 
@@ -15,29 +17,34 @@
 IUSE="mpi"
 KEYWORDS="amd64 x86"
 
-DEPEND="mpi? ( virtual/mpi
-	sys-cluster/mpe2 )"
+DEPEND="
+	mpi? (
+		virtual/mpi
+		sys-cluster/mpe2 )"
 RDEPEND="${DEPEND}"
 
 src_prepare() {
-	sed -i -e 's/CFLAGS="$OPTFLAGS/CFLAGS="$CFLAGS $OPTFLAGS/' \
-		-e 's/-Werror//' configure.in || die
-	eautoreconf
+	sed \
+		-e 's/CFLAGS="$OPTFLAGS/CFLAGS="$CFLAGS $OPTFLAGS/' \
+		-e 's/-Werror//' \
+		-i configure.in || die
+	autotools-utils_src_prepare
 }
 
 src_configure() {
 	if use mpi; then export CC=mpicc; fi
-	econf $(use_enable mpi) || die
+	local myeconfargs=( $(use_enable mpi) )
+	autotools-utils_src_configure
 }
 
 src_install() {
-	emake DESTDIR="${D}" install || die "install failed"
-	exeinto /usr/share/${PN}
+	autotools-utils_src_install
+	exeinto /usr/$(get_libdir)/${PN}
 	doexe *.pl
 	dodoc README ChangeLog
 }
 
 pkg_postinst() {
-	einfo "Supplementary Perl scripts for Gibbs have been installed into /usr/share/${PN}."
+	einfo "Supplementary Perl scripts for Gibbs have been installed into /usr/$(get_libdir)/${PN}."
 	einfo "These scripts require installation of sci-biology/bioperl."
 }






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-26 16:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-26 16:17 [gentoo-commits] gentoo-x86 commit in sci-biology/gibbs: ChangeLog gibbs-3.1.ebuild gibbs-1995.9.ebuild Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox