diff options
Diffstat (limited to 'sci-mathematics/form')
-rw-r--r-- | sci-mathematics/form/Manifest | 7 | ||||
-rw-r--r-- | sci-mathematics/form/form-4.1.ebuild | 81 | ||||
-rw-r--r-- | sci-mathematics/form/form-4.2.0.ebuild | 81 | ||||
-rw-r--r-- | sci-mathematics/form/metadata.xml | 15 |
4 files changed, 184 insertions, 0 deletions
diff --git a/sci-mathematics/form/Manifest b/sci-mathematics/form/Manifest new file mode 100644 index 000000000000..12f819093506 --- /dev/null +++ b/sci-mathematics/form/Manifest @@ -0,0 +1,7 @@ +DIST form-4.1.tar.gz 1260530 SHA256 fb3470937d66ed5cb1af896b15058836d2c805d767adac1b9073ed2df731cbe9 SHA512 39ab2fa1e448d6d5e427cc2c92285cc27f84724addffc378f3b799fc2b3f6381b8dceb87cb980062b980885d8d81591c5c7ff7b0dbeae7b6d9a3cf0b03d58aae WHIRLPOOL 1950ebc2357a78bf7430dd35852ab538e14b2ec68df8e9d11d7adcc31c365c14175c91bee984458794346a3b66b0580bea8625eeeff8c9c0f2045bab2bb1b5f8 +DIST form-4.2.0.tar.gz 1386285 SHA256 55fb2f69b98e4bd48e365b2245f3d0e22ef0f969d07b1a4aa81b120baf42a2a4 SHA512 7566b89c1c1b74da58da92426f5e4beee271d4273df6cbe1d1de1a17377125b745103852c363dfe8ff1b0e9cb9ba4c84187406e8f77b23f5198fd592f5dfe341 WHIRLPOOL 149e94c0c551481d9d4f035b71c5255ad59a6568ebab9b94e146bfb050af9989bd7dd371bb15035eea4c589d736ee61bc903d0bb4383902c5c0605da606c0d75 +EBUILD form-4.1.ebuild 1718 SHA256 0974c7700d9ccb747b862c06ffd656304ba1e9d516793fa12093bb04bf9476d4 SHA512 69602e500fe94f135344598528e082565b51d1cf9c6381af3217e0bd9d75b5f61e8258e7c11f23976c694ebeabb91a230a2656f2d20ad57eccacc3a865875fc8 WHIRLPOOL 0af968ea3e893d1dd020f0b97f7c6c985e763943ba28465fa49e96deb68795ac0b9963769adfebebb0cef1afe6b62b8af28d9690a16cde31f03b114953bb940b +EBUILD form-4.2.0.ebuild 1735 SHA256 f6fe057d99e68f0f5fb5d4d705446ca6d28fc42e4af4e95882749008d687795c SHA512 6a68e65ad9d0e4035b419ac49ea82fe476ea1153d1eb338b535994055f3a390932a5f65e72a99699ed2063af03bcea498e6803cdd35f56a282b9e8a31e97e756 WHIRLPOOL 68533e759f7a26f49db41ba0d59cb49e526294cc539d9befe0301ba1987c85003e3b6c3f2df7a301e1ec4b16a74fccc30cb98b85ddd2ac22c5a1c94c23b93510 +MISC ChangeLog 2545 SHA256 254b91425e41e5ed1e08f5bece114fb281c4e698ec8f0ce3b9ed4a04e55e3892 SHA512 78350ca5f70beff501ccab6958cf7b0fdb5553090411b668ac09e669c20f605b323a6c0273dac2f33fc8e833ac5cdd7e9e700938cc4b8f0e6af6ab824de96ba7 WHIRLPOOL 734f6ba6cb92c2ef8cdaf56c212f0bfc058f855e18dea0b8a94b6e6f29506b5ef390d383f03dc31d27c4467bc5bc50ec7a9a5e1d974d854cb07d70f3570e0011 +MISC ChangeLog-2015 983 SHA256 44972646f70d769f5d878da67a43a3ad8593f920d57acb5934136d4d0aa19e06 SHA512 c346cb55a673d42ae243302f24f8aaf3cc8d622399fa1f54608a97f54e32a00264a0f71ce85364f73784482b7bee8938c90cc93538722275da8608f256e983bc WHIRLPOOL b80c6ae8da698007112ab449750c9a0036fa062755395b6e913c494da9705d3627183a8fa4e68b7133c7ecd8ad47456c56c1f3ec6920f2b112ab85fed120089d +MISC metadata.xml 573 SHA256 30b6ddd620c9013624d1e56a459d9ed0b666c9db506e5b73f226dfb4571baaa8 SHA512 24b8b3fa4128f8d36cb30b2ae1b2a29cd5a5823309ed36ededf0e2682627f418a7274728547ea293b50b41100dfb1f9bff2120129c2e367bbcc4cc6eabb0d384 WHIRLPOOL 7aaa3523dcfea104bf07fa15a2a9c738f2448234abf9fa8b13618a2ac6190d4676da1ea3d96212627339df132613cb9c270633aacb3edc5d2ba5cd8384993a1e diff --git a/sci-mathematics/form/form-4.1.ebuild b/sci-mathematics/form/form-4.1.ebuild new file mode 100644 index 000000000000..6eb0f062f04b --- /dev/null +++ b/sci-mathematics/form/form-4.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools + +DESCRIPTION="Symbolic Manipulation System" +HOMEPAGE="http://www.nikhef.nl/~form/" +SRC_URI="http://www.nikhef.nl/~form/maindir/binaries/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="devref doc doxygen gmp mpi threads zlib" + +RDEPEND=" + gmp? ( dev-libs/gmp:0= ) + mpi? ( virtual/mpi ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + devref? ( dev-texlive/texlive-latex ) + doc? ( dev-texlive/texlive-latex ) + doxygen? ( app-doc/doxygen )" + +src_prepare() { + sed -i 's/LINKFLAGS = -s/LINKFLAGS =/' sources/Makefile.am || die + eautoreconf +} + +src_configure() { + econf \ + --enable-scalar \ + --enable-largefile \ + --disable-debug \ + --disable-static-link \ + --with-api=posix \ + $(use_with gmp ) \ + $(use_enable mpi parform ) \ + $(use_enable threads threaded ) \ + $(use_with zlib ) \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" +} + +src_compile() { + default + if use devref; then + pushd doc/devref > /dev/null || die "doc/devref does not exist" + LANG=C emake pdf + popd > /dev/null + fi + if use doc; then + pushd doc/manual > /dev/null || die "doc/manual does not exist" + LANG=C emake pdf + popd > /dev/null + fi + if use doxygen; then + pushd doc/doxygen > /dev/null || die "doc/doxygen does not exist" + emake html + popd > /dev/null + fi +} + +src_install() { + default + if use devref; then + insinto /usr/share/doc/${PF} + doins doc/devref/devref.pdf + fi + if use doc; then + insinto /usr/share/doc/${PF} + doins doc/manual/manual.pdf + fi + if use doxygen; then + dohtml -r doc/doxygen/html/* + fi +} diff --git a/sci-mathematics/form/form-4.2.0.ebuild b/sci-mathematics/form/form-4.2.0.ebuild new file mode 100644 index 000000000000..8f30d5b663c9 --- /dev/null +++ b/sci-mathematics/form/form-4.2.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools + +DESCRIPTION="Symbolic Manipulation System" +HOMEPAGE="http://www.nikhef.nl/~form/" +SRC_URI="https://github.com/vermaseren/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="devref doc doxygen gmp mpi threads zlib" + +RDEPEND=" + gmp? ( dev-libs/gmp:0= ) + mpi? ( virtual/mpi ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + devref? ( dev-texlive/texlive-latex ) + doc? ( dev-texlive/texlive-latex ) + doxygen? ( app-doc/doxygen )" + +src_prepare() { + sed -i 's/LINKFLAGS = -s/LINKFLAGS =/' sources/Makefile.am || die + eautoreconf +} + +src_configure() { + econf \ + --enable-scalar \ + --enable-largefile \ + --disable-debug \ + --disable-static-link \ + --with-api=posix \ + $(use_with gmp ) \ + $(use_enable mpi parform ) \ + $(use_enable threads threaded ) \ + $(use_with zlib ) \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" +} + +src_compile() { + default + if use devref; then + pushd doc/devref > /dev/null || die "doc/devref does not exist" + LANG=C emake pdf + popd > /dev/null + fi + if use doc; then + pushd doc/manual > /dev/null || die "doc/manual does not exist" + LANG=C emake pdf + popd > /dev/null + fi + if use doxygen; then + pushd doc/doxygen > /dev/null || die "doc/doxygen does not exist" + emake html + popd > /dev/null + fi +} + +src_install() { + default + if use devref; then + insinto /usr/share/doc/${PF} + doins doc/devref/devref.pdf + fi + if use doc; then + insinto /usr/share/doc/${PF} + doins doc/manual/manual.pdf + fi + if use doxygen; then + dohtml -r doc/doxygen/html/* + fi +} diff --git a/sci-mathematics/form/metadata.xml b/sci-mathematics/form/metadata.xml new file mode 100644 index 000000000000..046e2a6564f3 --- /dev/null +++ b/sci-mathematics/form/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-mathematics@gentoo.org</email> + <name>Gentoo Mathematics Project</name> + </maintainer> + <longdescription lang="en"> +A system which can efficiently manipulate huge formulas limited only by available disk space. +</longdescription> + <use> + <flag name="devref">Build and install developers reference</flag> + <flag name="doxygen">Build and install API documentation</flag> + </use> +</pkgmetadata> |