commit: 2af191b5567137e8ccd6f4eecfe57552a8f97db8 Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org> AuthorDate: Mon Jul 14 00:37:49 2014 +0000 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> CommitDate: Mon Jul 14 00:37:49 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2af191b5
initial commit Package-Manager: portage-2.2.8-r1 --- sci-libs/libcerf/ChangeLog | 9 +++++++++ sci-libs/libcerf/libcerf-1.3.ebuild | 34 ++++++++++++++++++++++++++++++++++ sci-libs/libcerf/metadata.xml | 5 +++++ 3 files changed, 48 insertions(+) diff --git a/sci-libs/libcerf/ChangeLog b/sci-libs/libcerf/ChangeLog new file mode 100644 index 0000000..d4679f0 --- /dev/null +++ b/sci-libs/libcerf/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-libs/libcerf +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*libcerf-1.3 (14 Jul 2014) + + 14 Jul 2014; Christoph Junghans <[email protected]> +libcerf-1.3.ebuild, + +metadata.xml: + initial commit diff --git a/sci-libs/libcerf/libcerf-1.3.ebuild b/sci-libs/libcerf/libcerf-1.3.ebuild new file mode 100644 index 0000000..0be610e --- /dev/null +++ b/sci-libs/libcerf/libcerf-1.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit autotools-utils multilib + +DESCRIPTION="library that provides an efficient and accurate implementation of complex error functions" +HOMEPAGE="http://apps.jcns.fz-juelich.de/doku/sc/libcerf" +SRC_URI="http://apps.jcns.fz-juelich.de/src/${PN}/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc static-libs" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_install() { + autotools-utils_src_install + + #avoid collision with future glibc's cerf function + mv "${ED}"/usr/share/man/man3/{,${PN}-}cerf.3 || die + + #htmldir is hard-coded + if use doc; then + dohtml "${ED}"/usr/share/man/html/* + fi + rm -r "${ED}"/usr/share/man/html || die + + echo 'Libs.private: -lm' >> "${ED}/usr/$(get_libdir)/pkgconfig/${PN}.pc" || die +} diff --git a/sci-libs/libcerf/metadata.xml b/sci-libs/libcerf/metadata.xml new file mode 100644 index 0000000..897aa2e --- /dev/null +++ b/sci-libs/libcerf/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> +</pkgmetadata>
