diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-19 17:57:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-19 17:57:29 +0100 |
commit | d473a706836012853193afc7000922601e4ada61 (patch) | |
tree | 01c43bd6b2121d90bc97ead47dd7654d9402ea1d /dev-tex/hevea | |
parent | 420eeee727d39d869d864caddb04a80dafda7160 (diff) |
gentoo resync : 19.10.2017
Diffstat (limited to 'dev-tex/hevea')
-rw-r--r-- | dev-tex/hevea/Manifest | 2 | ||||
-rw-r--r-- | dev-tex/hevea/hevea-2.31.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-tex/hevea/Manifest b/dev-tex/hevea/Manifest index ba1ce5599b19..e4e542689ddb 100644 --- a/dev-tex/hevea/Manifest +++ b/dev-tex/hevea/Manifest @@ -1,7 +1,9 @@ DIST hevea-2.29.tar.gz 969599 SHA256 06bf0b01834a25358415c666a0a477effc12eeeb1da4da1eeefaca67b29af8c4 SHA512 4ea2f3d60fd43d183712a868cb3894b38f6d9809ba7905d69123a7672faba0d6dfe73ad1379d7996ede98ceb645bba903e5b7550bdf92e7950ce69ba7f4f3994 WHIRLPOOL e336c088d862442d3b44acaeec19064c69ecf2c6bb1c1e50822e383b03b90201d9eced19f234f3ea07de47c8cdfd0e9447cc276aac4f5a946285552c994a258e DIST hevea-2.30.tar.gz 965635 SHA256 9e93deac8d2cc62a8d9eae2817094cdba81cabef264d009f3d434d85ab9a249c SHA512 75c700e009070bff4845ccc6f984ade8068f90ea78630a2e6ab1d27618a225a4bbbb7c4aa07c08be03094ddad4aac5d0c9e83fa01d41ff501f5c1eed9f4428eb WHIRLPOOL d91e124108b0b10cfe37d342e78d668ce75522b09e2e385119eab9cb0b253cdf04d92b6b207363fdd4c0939dc4ab706ae9bbabdc8e46cda8353a43a0ee856e13 +DIST hevea-2.31.tar.gz 965678 SHA256 fbd7ad20aff45e557f5835f99a53d29a1753657cf2c004f26de83345b1b5b997 SHA512 4b66030f69b8b60750f8e62a9d81240b0ba399af8af69df10b33742e10d23fe7aef3e7782265fac9705f27715e5964debd47b9da7a394f70fda947b5fcd2d6ea WHIRLPOOL 35983a87e6210bab40198bbbafd64d44164daa462de5418b68b6e29e18cbb836b100e78177343c52da6e5df16367343effc9220c13bf855d651ad69c7aa6d350 EBUILD hevea-2.29.ebuild 1578 SHA256 34b6db401933d0e853d31fd58cc32a13ead7d788c1a5e04afe85b3ffa2d80ca0 SHA512 6125faaaa52cd1cf0323ed91c06983538782a83618e21bcfda29ef27351f4173a9e1d252ff7381d1386f7e80e74ed97bb3a3e1b0f1a0371295d3dbed326a9ca9 WHIRLPOOL 9d3b9960c6719180b82f76bf1b127beac0f5b26638dd3b216e6f1a2e9c5396c873c798bc8d037d8f603394307b2d9b00daab25116f075065169aee18cb43b245 EBUILD hevea-2.30.ebuild 1582 SHA256 c7bc31fc9b94d201ffb09e8ac2b85f2a390aa5ebd8f620ad0244e9928776bb5c SHA512 ec3d25692e4a81ab3f5421abbeed4711b87c83de22c464e34ee41bd803b543e97ba08eef7077c8c9b33790074925472df023399ab900b656e2f284a3cab67cb4 WHIRLPOOL b5269d383c67bc6db9a5eb246859389b4630b4fc354f5fc6b2e4d490d4293d0737cba9d48c9c46e904a23683a988ef8ed07950d6eb9aa737ece7d30a542a9106 +EBUILD hevea-2.31.ebuild 1582 SHA256 c7bc31fc9b94d201ffb09e8ac2b85f2a390aa5ebd8f620ad0244e9928776bb5c SHA512 ec3d25692e4a81ab3f5421abbeed4711b87c83de22c464e34ee41bd803b543e97ba08eef7077c8c9b33790074925472df023399ab900b656e2f284a3cab67cb4 WHIRLPOOL b5269d383c67bc6db9a5eb246859389b4630b4fc354f5fc6b2e4d490d4293d0737cba9d48c9c46e904a23683a988ef8ed07950d6eb9aa737ece7d30a542a9106 MISC ChangeLog 3718 SHA256 011b6b1412b04211d5cc975ad375b1f0dfea00a71958259f787c070473dbb668 SHA512 036103a2fae52a1fabf71bb6fe779090a9a1ebe1477fe8921357bc07bb6424614c9c2e817dc98b11fdf5a1141f84007b9715fc4a156843a6964155ab5ad48efe WHIRLPOOL f968481d297439e6b83c1b476a4097174840ea5ce6c037c9cba47f53ee57999b46273d0ca782cb476faf757c4aea4d9d7bb33fdc3e1d63d148d59449abbc19df MISC ChangeLog-2015 6672 SHA256 2616c58f17c996d39b808b97425aae5a7af651d78f5947621fdae430b24c27d8 SHA512 2400d588e6d16f724e983b12d6ac1b8bba484063a608b7b67d1de86a9c87b13938e28a0eb1c9e73c0b3b03e3efe6d0fd3403c7da10a759a77e22153dcb87ed85 WHIRLPOOL ae3612d0b16ad50f734ffdbe5fc0fa65f4ec7242c81bde1345c1b27ea67df07146eb64c1ada513a85b22717518dfed52daf9a443654a283ad3e1ad342d54f923 MISC metadata.xml 356 SHA256 3b0a95040db2f9a0b588d9eeb03d3da656e0843c1fb6ced2959f1fa829e77d09 SHA512 f01f19a40a296cd3675f75d2c09aae119bc9c644e7c80b3bebb8f265c5e49dc47f481b33e93aed51db6f19a6164b5cdff5cfabeb7e7daf10c67994cfa7aa1375 WHIRLPOOL 6a82a24b66d8b385c578228017113bb8049400bbadfc0d34f5220225ccfb1d246d4dfcf65eca52ad93afe8a4c4716aebb5195b92ddd68f30f370c01e7c7c7871 diff --git a/dev-tex/hevea/hevea-2.31.ebuild b/dev-tex/hevea/hevea-2.31.ebuild new file mode 100644 index 000000000000..a09af4ace2c4 --- /dev/null +++ b/dev-tex/hevea/hevea-2.31.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib + +IUSE="+ocamlopt" + +DESCRIPTION="HeVeA is a quite complete and fast LaTeX to HTML translator" +HOMEPAGE="http://hevea.inria.fr/" +SRC_URI="http://hevea.inria.fr/distri/${P}.tar.gz" + +LICENSE="QPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + +DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]" +RDEPEND="${DEPEND} + dev-texlive/texlive-latexextra" +DEPEND="${DEPEND} dev-ml/ocamlbuild" + +src_compile() { + rm -f config.sh + emake PREFIX=/usr DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)/hevea" LATEXLIBDIR="/usr/share/texmf-site/tex/latex/hevea" config.sh || die "Failed to create config.sh" + if use ocamlopt; then + emake PREFIX=/usr || die "Failed to build native code binaries" + else + emake PREFIX=/usr TARGET=byte || die "Failed to build bytecode binaries" + fi +} + +src_install() { + if use ocamlopt; then + emake DESTDIR="${D}" PREFIX=/usr install || die "Install failed" + else + emake DESTDIR="${D}" PREFIX=/usr TARGET=byte install || die "Install failed" + fi + + dodoc README CHANGES +} + +# If texmf-update is present this means we have a latex install; update it so +# that hevea.sty can be found +# Do not (r)depend on latex though because hevea does not need it itself +# If latex is installed later, it will see hevea.sty + +pkg_postinst() { + if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then + /usr/sbin/texmf-update + fi +} + +pkg_postrm() { + if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then + /usr/sbin/texmf-update + fi +} |