diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-05-01 12:22:13 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-05-01 12:22:13 +0000 |
commit | 59c62caec43625ed1d0e9d8de9aaa006751170a8 (patch) | |
tree | 6455ebf29d7dc79335d121bafc90c30449f918e4 | |
parent | sci-chemistry/pymol: Drop unneeded dep (diff) | |
download | gentoo-2-59c62caec43625ed1d0e9d8de9aaa006751170a8.tar.gz gentoo-2-59c62caec43625ed1d0e9d8de9aaa006751170a8.tar.bz2 gentoo-2-59c62caec43625ed1d0e9d8de9aaa006751170a8.zip |
dev-libs/maloc: Backport upstream change to make it compatible latest apbs
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
-rw-r--r-- | dev-libs/maloc/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/maloc/maloc-1.5-r1.ebuild | 59 | ||||
-rw-r--r-- | dev-libs/maloc/metadata.xml | 2 |
3 files changed, 68 insertions, 3 deletions
diff --git a/dev-libs/maloc/ChangeLog b/dev-libs/maloc/ChangeLog index d247119ac1f0..aa787660fb27 100644 --- a/dev-libs/maloc/ChangeLog +++ b/dev-libs/maloc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/maloc -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/ChangeLog,v 1.24 2012/05/02 10:38:42 jlec Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/ChangeLog,v 1.25 2014/05/01 12:22:13 jlec Exp $ + +*maloc-1.5-r1 (01 May 2014) + + 01 May 2014; Justin Lecher <jlec@gentoo.org> +maloc-1.5-r1.ebuild, + metadata.xml: + Backport upstream change to make it compatible latest apbs 02 May 2012; Justin Lecher <jlec@gentoo.org> maloc-1.5.ebuild: Move to autotools-utils.eclass diff --git a/dev-libs/maloc/maloc-1.5-r1.ebuild b/dev-libs/maloc/maloc-1.5-r1.ebuild new file mode 100644 index 000000000000..919a46286340 --- /dev/null +++ b/dev-libs/maloc/maloc-1.5-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/maloc-1.5-r1.ebuild,v 1.1 2014/05/01 12:22:13 jlec Exp $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=yes + +inherit autotools-utils + +DESCRIPTION="Minimal Abstraction Layer for Object-oriented C/C++ programs" +HOMEPAGE="http://www.fetk.org/codes/maloc/index.html" +SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +IUSE="doc mpi static-libs" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + sys-libs/readline + mpi? ( virtual/mpi )" +DEPEND="${RDEPEND} + doc? ( + media-gfx/graphviz + app-doc/doxygen )" + +S="${WORKDIR}/${PN}" + +PATCHES=( + "${FILESDIR}"/1.4-mpi.patch + "${FILESDIR}"/1.4-asneeded.patch + "${FILESDIR}"/1.4-doc.patch + ) + +src_prepare() { + echo 'VPUBLIC int Vio_getc(Vio *thee){ ASC *asc; asc = thee->axdr; return asc->buf[asc->pos++]; }' >> src/vsys/vio.c || die + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs + use mpi && export CC="mpicc" + use doc || myeconfargs+=( --with-doxygen= --with-dot= ) + + myeconfargs+=( + --docdir="${EPREFIX}"/usr/share/doc/${PF} + $(use_enable mpi) + --disable-triplet + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + # install doc + dohtml doc/index.html +} diff --git a/dev-libs/maloc/metadata.xml b/dev-libs/maloc/metadata.xml index d369d068ffb8..897aa2e6b59a 100644 --- a/dev-libs/maloc/metadata.xml +++ b/dev-libs/maloc/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci</herd> + <herd>sci</herd> </pkgmetadata> |