diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-biology/gibbs/gibbs-3.1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-biology/gibbs/gibbs-3.1.ebuild')
-rw-r--r-- | sci-biology/gibbs/gibbs-3.1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sci-biology/gibbs/gibbs-3.1.ebuild b/sci-biology/gibbs/gibbs-3.1.ebuild new file mode 100644 index 000000000000..de8322a5068e --- /dev/null +++ b/sci-biology/gibbs/gibbs-3.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +AUTOTOOLS_AUTORECONF=yes + +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" + +LICENSE="GPL-2" +SLOT="0" +IUSE="mpi" +KEYWORDS="amd64 x86" + +DEPEND=" + mpi? ( + virtual/mpi + sys-cluster/mpe2 )" +RDEPEND="${DEPEND}" + +src_prepare() { + 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 + local myeconfargs=( $(use_enable mpi) ) + autotools-utils_src_configure +} + +src_install() { + 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/$(get_libdir)/${PN}." + einfo "These scripts require installation of sci-biology/bioperl." +} |