diff options
Diffstat (limited to 'sci-libs/klu')
-rw-r--r-- | sci-libs/klu/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/klu/files/klu-1.3.9-dash_doc.patch | 27 | ||||
-rw-r--r-- | sci-libs/klu/klu-1.3.9-r1.ebuild | 44 |
3 files changed, 73 insertions, 0 deletions
diff --git a/sci-libs/klu/Manifest b/sci-libs/klu/Manifest index f8a675bc71db..b45d8f2695b5 100644 --- a/sci-libs/klu/Manifest +++ b/sci-libs/klu/Manifest @@ -1,3 +1,5 @@ +AUX klu-1.3.9-dash_doc.patch 1008 BLAKE2B 97f5f169cdb1220bf8970fc2a31767237b81363f9950ebe48a03d94dadcb9f270d4ce625788052c20cb4cde2c81137a68e26a4498c5e404ae9011811b2c70da1 SHA512 1b11b38c701a41f4a5d166dfa2f3c6cd2760fe6745083b042b1fc3d6bc93e05e3becfcde0f6be3504ba520bbeeaa70671d7c928665a256c71581a8e97f9c9f5a DIST klu-1.3.9.tar.bz2 635596 BLAKE2B 6c6c84cf1b30e78cbaaee6bebed21c806d1672bee5f7ea061e7ef057ff56fd456e8517ca2ff1018a14ebcbc8f96b9e87989e22d8996817394666e6d8d2d727dd SHA512 b7fd862fe8443596758c27f9c918e367b3b3816340836e74cf8d97a2e755fbe07d133778eea3d054bc70243fa15c2bd71f4fd90c1179879661ba2d624b8f0706 +EBUILD klu-1.3.9-r1.ebuild 861 BLAKE2B ee8832e087056241c3deb13b997c197ba3f4706af57c2e378a4d51f69b302413dfaec9206f4d869cfc94f138ea840482d5b233ac738293d7f33e955ca5f4a97a SHA512 3909d5167e8e7e20b3ae51860a3c64a0a8b9cf663d39982cfc66707c04498e644c104ccac295d4cdd59e1a79bc6b9f5fe2d3ec210c495fee9f52ebac780620f8 EBUILD klu-1.3.9.ebuild 652 BLAKE2B d1de231723de826b04a2251f37813f28ca7cf7c545149c8c345b02563f884cb086ada7462ee9d5390dc1afe00769fcf377478c3aaa1fc7abaf90982b59650f93 SHA512 8146668bcc64b4bc8b854d44c1ef5c97661ba32a226225503650c7f1aea9479ed73f152dbf008a377b7d98dd187d121d2c5622ea7ce4cd9ab2543b63ff547333 MISC metadata.xml 460 BLAKE2B f4d619f68a16bcbaaf2b44a9fd1156cc88dd02d38609da2e56f8b242df9744fbbe4b7befff2ae34f084b5895ab9a537e62182015008e596fddda33ea891698b5 SHA512 1e01a7e6576552beac665a8a0affe21809785f33316767ef6e0bcc59dd019e5100f1ed16ca1bd91ee1daf102de2122ed57ff0980dd6b4f21270f8c4c5f832db7 diff --git a/sci-libs/klu/files/klu-1.3.9-dash_doc.patch b/sci-libs/klu/files/klu-1.3.9-dash_doc.patch new file mode 100644 index 000000000000..1f7bc8edfe10 --- /dev/null +++ b/sci-libs/klu/files/klu-1.3.9-dash_doc.patch @@ -0,0 +1,27 @@ +diff --git a/Doc/Makefile.am b/Doc/Makefile.am +index 7d1116a..fd46b1d 100644 +--- a/Doc/Makefile.am ++++ b/Doc/Makefile.am +@@ -1,15 +1,14 @@ + + KLU_UserGuide.pdf: +- echo '\begin{verbatim}' > klu_h.tex ++ printf '\\begin{verbatim}\n' > klu_h.tex + expand -8 $(top_srcdir)/Include/klu.h >> klu_h.tex +- echo '\end{verbatim}' >> klu_h.tex +- echo '\begin{verbatim}' > btf_h.tex +- echo 'See your btf.h local install' >> btf_h.tex +- echo '\end{verbatim}' >> btf_h.tex +- echo '\begin{verbatim}' > klu_simple_c.tex ++ printf '\\end{verbatim}\n' >> klu_h.tex ++ printf '\\begin{verbatim}\n' > btf_h.tex ++ printf 'See your btf.h local install\n' >> btf_h.tex ++ printf '\\end{verbatim}\n' >> btf_h.tex ++ printf '\\begin{verbatim}\n' > klu_simple_c.tex + expand -8 $(top_srcdir)/Demo/klu_simple.c >> klu_simple_c.tex +- echo '\end{verbatim}' >> klu_simple_c.tex +- -ln -s $(srcdir)/*.{tex,bib} . ++ printf '\\end{verbatim}\n' >> klu_simple_c.tex + $(PDFLATEX) KLU_UserGuide + $(BIBTEX) KLU_UserGuide + $(PDFLATEX) KLU_UserGuide diff --git a/sci-libs/klu/klu-1.3.9-r1.ebuild b/sci-libs/klu/klu-1.3.9-r1.ebuild new file mode 100644 index 000000000000..971207fad7c7 --- /dev/null +++ b/sci-libs/klu/klu-1.3.9-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Sparse LU factorization for circuit simulation" +HOMEPAGE="http://faculty.cse.tamu.edu/davis/suitesparse.html" +SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc static-libs" + +BDEPEND="virtual/pkgconfig + doc? ( virtual/latex-base )" +DEPEND=" + >=sci-libs/amd-2.4 + >=sci-libs/btf-1.2 + >=sci-libs/colamd-2.9" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-1.3.9-dash_doc.patch ) + +src_prepare(){ + default + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_with doc) +} + +src_install() { + default + + # remove .la file + find "${ED}" -name '*.la' -delete || die +} |