diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
commit | abaa75b10f899ada8dd05b23cc03205064394bc6 (patch) | |
tree | eca3dd248b73b92013cba00a0fcc1edf2696e19a /sci-mathematics/form/form-4.1.ebuild | |
parent | 24fd814c326e282c4321965c31f341dad77e270d (diff) |
gentoo resync : 22.01.2021
Diffstat (limited to 'sci-mathematics/form/form-4.1.ebuild')
-rw-r--r-- | sci-mathematics/form/form-4.1.ebuild | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/sci-mathematics/form/form-4.1.ebuild b/sci-mathematics/form/form-4.1.ebuild deleted file mode 100644 index 16c8683ed40d..000000000000 --- a/sci-mathematics/form/form-4.1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools toolchain-funcs - -DESCRIPTION="Symbolic Manipulation System" -HOMEPAGE="https://www.nikhef.nl/~form/" -SRC_URI="https://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 -} |