diff options
Diffstat (limited to 'sci-libs/libsc')
-rw-r--r-- | sci-libs/libsc/Manifest | 8 | ||||
-rw-r--r-- | sci-libs/libsc/libsc-1.0-r1.ebuild | 71 | ||||
-rw-r--r-- | sci-libs/libsc/libsc-1.1-r1.ebuild | 73 | ||||
-rw-r--r-- | sci-libs/libsc/libsc-2.0.ebuild | 93 | ||||
-rw-r--r-- | sci-libs/libsc/libsc-9999.ebuild | 93 | ||||
-rw-r--r-- | sci-libs/libsc/metadata.xml | 22 |
6 files changed, 360 insertions, 0 deletions
diff --git a/sci-libs/libsc/Manifest b/sci-libs/libsc/Manifest new file mode 100644 index 000000000000..0046fe5d3539 --- /dev/null +++ b/sci-libs/libsc/Manifest @@ -0,0 +1,8 @@ +DIST libsc-1.0.tar.gz 257930 SHA256 a9f8a0f342a4a92c4031735e044e7ee73d9fd7e6df3e50a51c4c5016e27ed1ba SHA512 bf5af600e9cbd4038b1bd40c88776b21be5d474e34f9aacf287b890d262a22dc50ca27982c2eb9adba9735c8d9bb1fc31de2a27b24cdab534e3b2f610d76db7d WHIRLPOOL 56f89fcaf90bc8d4f872cee4fe150f692933b39376758c42b67d2e42659c19a9332a1d5e6d2d81c011dade0c6ab40c526c69ce2168fe41060f5d4be1a6595b1b +DIST libsc-1.1.tar.gz 263643 SHA256 99c3fb3b7d6514ccaa667bdc848a7308c00f05bf6fdc0561ce286db9644ee03e SHA512 a3d8bea406a1987e68e88dd587aebe28c796f2a5bddfc381b34b5eb1448e0ac23889cc6f97fc1e4010289f83996180db42cbb001d0518360349b993dd37d4579 WHIRLPOOL b6c123cd245e4beb4cd6479e9d781d86784fab6975edc20562c14b5ecc59dbc824aca10fb02e4fa7612f0b2743fd7c7d3799f203546c5859896812a21e1362df +DIST libsc-2.0.tar.gz 296392 SHA256 759c7ed33537fc5eb2fee4c9d90f5d80f7112f13042f4d2d5f34d6c6461cb8e6 SHA512 e4cfe42a1c1fe17412e1ffb6ebebe1f760861a7fb707a6f8fd01cdebda96b166ee05e7ff034f3b9e30de5e9baa82c9a2cebe93d40772dbd206603321de40559c WHIRLPOOL 247a985d948ceba0e682491f4b85d761c76599a82d5f3096ba5214d64691bff1b497739d1f2687ac6a6b04c121eb057c3770a17ee7d5040af16a288bb9f79299 +EBUILD libsc-1.0-r1.ebuild 1558 SHA256 bac1dbe01e2595540d74f12d5fb0c5938f87f5b44fdb776eb82ada5d9b83d2d5 SHA512 ba37ac74e6a5e25c0ea99a712a6ae8584f95a2936c5c57dcb10d6610be89f999509fefb80cda1db32522c0f03512a123d07e2f2a97b33174e1b3bff2ef309ac1 WHIRLPOOL 37bb353864e03c8e224234c434d020c98d303813ca66b0df92e441a2a4083aaea9edc202d61b3ba7c5b3afe4d85839b1e7ded3cbf94079f5a74243a13b692cb7 +EBUILD libsc-1.1-r1.ebuild 1585 SHA256 92097a21345a33785f7c501c5653f6df1ea1c1f24fffc9e0d1f4b880eabf6108 SHA512 9b73eead26c000aa5d4c6a93059b238ae7d7cb9a6ef53a20b1a983c1b12ddc851e4d808d10589c14b2a1b882e09d754a0bdfabb889d5577bfb1a359fc9f9b2a1 WHIRLPOOL 092e3fdf1d1f332f5dbc989a8ae4801346da4d3db100f82892a2f72a24fe66329565a03002c120180f74bf71ac7858ef2b59b09ac0844edddce7b6bab874cf0e +EBUILD libsc-2.0.ebuild 2105 SHA256 1275076c9977d8029fccdb436db981ba9e3469f4e615ac92c6858c63e5831bd2 SHA512 0002f1222d5ed89e1123e563d5687eb92cc762a62531255e69ba343791e07c62c1a7d6a4cefe0e63b8e54c662f35d2b71bb16ff083099114aa611f8c324bc508 WHIRLPOOL 3f5ef508fb7cd4ff3f700e16b5b97b7eeabd2d24610da9bbe1d5afb2ef9315b8d19eb0ea7d477680b5c0cc2dcbe56de322a608a83de4b75ab2a4b90110391e81 +EBUILD libsc-9999.ebuild 2105 SHA256 1275076c9977d8029fccdb436db981ba9e3469f4e615ac92c6858c63e5831bd2 SHA512 0002f1222d5ed89e1123e563d5687eb92cc762a62531255e69ba343791e07c62c1a7d6a4cefe0e63b8e54c662f35d2b71bb16ff083099114aa611f8c324bc508 WHIRLPOOL 3f5ef508fb7cd4ff3f700e16b5b97b7eeabd2d24610da9bbe1d5afb2ef9315b8d19eb0ea7d477680b5c0cc2dcbe56de322a608a83de4b75ab2a4b90110391e81 +MISC metadata.xml 712 SHA256 01e4c236c5c6b5d4b3cda00a3efafd3f5f4ef0cf0d18b65b0c7f6bbf34fb268e SHA512 b00a3c5abc40f77724fa766c7b4cc386eec78a81396f6014eab6fb66618c9d11f08687b6f8d73bc24cc3b2deed8e88f44d69b4f7afe31ebbbad9308a99c586c2 WHIRLPOOL 13d92b9bec03ce7b30ceba5ff75a6b5b6eb3d59a497f141f3af2a7ef66e5b5237f9b75ce90ca3988651e8af8a432a870887a3a3b6589bb56c3612b9ba38143db diff --git a/sci-libs/libsc/libsc-1.0-r1.ebuild b/sci-libs/libsc/libsc-1.0-r1.ebuild new file mode 100644 index 000000000000..85a225542220 --- /dev/null +++ b/sci-libs/libsc/libsc-1.0-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils + +DESCRIPTION="Support for parallel scientific applications" +HOMEPAGE="http://www.p4est.org/" +SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug examples mpi romio static-libs" + +REQUIRED_USE="romio? ( mpi )" + +RDEPEND=" + dev-lang/lua:* + sys-apps/util-linux + virtual/blas + virtual/lapack + mpi? ( virtual/mpi[romio?] )" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS NEWS README ) + +src_prepare() { + default + + # Inject a version number into the build system + echo "${PV}" > ${S}/.tarball-version + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable mpi) + $(use_enable romio mpiio) + $(use_enable static-libs static) + --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" + --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if use examples; then + docinto examples + dodoc -r example/* + docompress -x /usr/share/doc/${PF}/examples + else + # Remove compiled example binaries in case of -examples: + rm -r "${ED}"/usr/bin || die "rm failed" + fi + + # Remove ac files, bug #619806 + rm -r "${ED}"/usr/share/aclocal || die "rm failed" + + # Fix wrong installation paths: + dodir /usr/share/libsc + mv "${ED}"/etc/* "${ED}"/usr/share/libsc || die "mv failed" + rmdir "${ED}"/etc/ || die "rmdir failed" +} diff --git a/sci-libs/libsc/libsc-1.1-r1.ebuild b/sci-libs/libsc/libsc-1.1-r1.ebuild new file mode 100644 index 000000000000..6e0d90763200 --- /dev/null +++ b/sci-libs/libsc/libsc-1.1-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils + +DESCRIPTION="Support for parallel scientific applications" +HOMEPAGE="http://www.p4est.org/" +SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug examples mpi romio static-libs" + +REQUIRED_USE="romio? ( mpi )" + +RDEPEND=" + dev-lang/lua:* + sys-apps/util-linux + virtual/blas + virtual/lapack + mpi? ( virtual/mpi[romio?] )" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS NEWS README ) + +AUTOTOOLS_AUTORECONF=true + +src_prepare() { + default + + # Inject a version number into the build system + echo "${PV}" > ${S}/.tarball-version + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable mpi) + $(use_enable romio mpiio) + $(use_enable static-libs static) + --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" + --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if use examples; then + docinto examples + dodoc -r example/* + docompress -x /usr/share/doc/${PF}/examples + else + # Remove compiled example binaries in case of -examples: + rm -r "${ED}"/usr/bin || die "rm failed" + fi + + # Remove ac files, bug #619806 + rm -r "${ED}"/usr/share/aclocal || die "rm failed" + + # Fix wrong installation paths: + dodir /usr/share/libsc + mv "${ED}"/etc/* "${ED}"/usr/share/libsc || die "mv failed" + rmdir "${ED}"/etc/ || die "rmdir failed" +} diff --git a/sci-libs/libsc/libsc-2.0.ebuild b/sci-libs/libsc/libsc-2.0.ebuild new file mode 100644 index 000000000000..229d1ccd05fc --- /dev/null +++ b/sci-libs/libsc/libsc-2.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools toolchain-funcs eutils + +DESCRIPTION="Support for parallel scientific applications" +HOMEPAGE="http://www.p4est.org/" + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git" + EGIT_BRANCH="develop" + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="debug examples mpi openmp romio static-libs threads" + +REQUIRED_USE="romio? ( mpi )" + +RDEPEND=" + dev-lang/lua:* + sys-apps/util-linux + virtual/blas + virtual/lapack + mpi? ( virtual/mpi[romio?] )" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS NEWS README ) + +AUTOTOOLS_AUTORECONF=true + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] && use openmp; then + tc-has-openmp || \ + die "Please select an openmp capable compiler like gcc[openmp]" + fi +} + +src_prepare() { + default + + # Inject a version number into the build system + echo "${PV}" > ${S}/.tarball-version + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable mpi) + $(use_enable openmp openmp) + $(use_enable romio mpiio) + $(use_enable static-libs static) + $(use_enable threads pthread) + --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" + --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if use examples; then + docinto examples + dodoc -r example/* + docompress -x /usr/share/doc/${PF}/examples + else + # Remove compiled example binaries in case of -examples: + rm -r "${ED}"/usr/bin || die "rm failed" + fi + + # Remove ac files, bug #619806 + rm -r "${ED}"/usr/share/aclocal || die "rm failed" + + # Fix wrong installation paths: + dodir /usr/share/libsc + mv "${ED}"/etc/* "${ED}"/usr/share/libsc || die "mv failed" + rmdir "${ED}"/etc/ || die "rmdir failed" + mv "${ED}"/usr/share/ini/* "${ED}"/usr/share/libsc || die "mv failed" + rmdir "${ED}"/usr/share/ini || die "rmdir failed" +} diff --git a/sci-libs/libsc/libsc-9999.ebuild b/sci-libs/libsc/libsc-9999.ebuild new file mode 100644 index 000000000000..229d1ccd05fc --- /dev/null +++ b/sci-libs/libsc/libsc-9999.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools toolchain-funcs eutils + +DESCRIPTION="Support for parallel scientific applications" +HOMEPAGE="http://www.p4est.org/" + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git" + EGIT_BRANCH="develop" + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="debug examples mpi openmp romio static-libs threads" + +REQUIRED_USE="romio? ( mpi )" + +RDEPEND=" + dev-lang/lua:* + sys-apps/util-linux + virtual/blas + virtual/lapack + mpi? ( virtual/mpi[romio?] )" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS NEWS README ) + +AUTOTOOLS_AUTORECONF=true + +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] && use openmp; then + tc-has-openmp || \ + die "Please select an openmp capable compiler like gcc[openmp]" + fi +} + +src_prepare() { + default + + # Inject a version number into the build system + echo "${PV}" > ${S}/.tarball-version + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable mpi) + $(use_enable openmp openmp) + $(use_enable romio mpiio) + $(use_enable static-libs static) + $(use_enable threads pthread) + --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" + --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if use examples; then + docinto examples + dodoc -r example/* + docompress -x /usr/share/doc/${PF}/examples + else + # Remove compiled example binaries in case of -examples: + rm -r "${ED}"/usr/bin || die "rm failed" + fi + + # Remove ac files, bug #619806 + rm -r "${ED}"/usr/share/aclocal || die "rm failed" + + # Fix wrong installation paths: + dodir /usr/share/libsc + mv "${ED}"/etc/* "${ED}"/usr/share/libsc || die "mv failed" + rmdir "${ED}"/etc/ || die "rmdir failed" + mv "${ED}"/usr/share/ini/* "${ED}"/usr/share/libsc || die "mv failed" + rmdir "${ED}"/usr/share/ini || die "rmdir failed" +} diff --git a/sci-libs/libsc/metadata.xml b/sci-libs/libsc/metadata.xml new file mode 100644 index 000000000000..18bfaa1e5479 --- /dev/null +++ b/sci-libs/libsc/metadata.xml @@ -0,0 +1,22 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tamiko@gentoo.org</email> + <name>Matthias Maier</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> +The SC Library provides support for parallel scientific applications. +This support library is primarily used by sci-libs/p4est. + </longdescription> + <use> + <flag name="romio">Build with support for the ROMIO MPI-IO component</flag> + </use> + <upstream> + <remote-id type="github">cburstedde/libsc</remote-id> + </upstream> +</pkgmetadata> |