summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2013-07-05 11:16:40 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2013-07-05 11:16:40 +0000
commit3a64540f236eb854b99e5b489c654fdbe64df5ac (patch)
treec25c1e4fec0423d9f2b03e670555db35fb60f3ca
parentAdd the thumbnailers to the set (diff)
downloadpauldv-3a64540f236eb854b99e5b489c654fdbe64df5ac.tar.gz
pauldv-3a64540f236eb854b99e5b489c654fdbe64df5ac.tar.bz2
pauldv-3a64540f236eb854b99e5b489c654fdbe64df5ac.zip
Create a proper ebuild for LaTeXML that follows best practice.
svn path=/trunk/overlay/; revision=152
-rw-r--r--dev-tex/LaTeXML/LaTeXML-0.7.0.ebuild53
-rw-r--r--dev-tex/LaTeXML/Manifest2
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-tex/LaTeXML/LaTeXML-0.7.0.ebuild b/dev-tex/LaTeXML/LaTeXML-0.7.0.ebuild
new file mode 100644
index 0000000..a404213
--- /dev/null
+++ b/dev-tex/LaTeXML/LaTeXML-0.7.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+EAPI=5
+
+inherit eutils perl-app latex-package
+
+DESCRIPTION="A modern (La)TeX to XML/HTML conversion tool"
+HOMEPAGE="http://dlmf.nist.gov/LaTeXML/"
+
+SRC_URI="http://dlmf.nist.gov/LaTeXML/releases/${P}.tar.gz"
+
+LICENSE="public-domain"
+
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+# Build-time dependencies, such as
+# ssl? ( >=dev-libs/openssl-0.9.6b )
+# >=dev-lang/perl-5.6.1-r1
+# It is advisable to use the >= syntax show above, to reflect what you
+# had installed on your system when you tested the package. Then
+# other users hopefully won't be caught without the right version of
+# a dependency.
+DEPEND="virtual/perl-DB_File
+ dev-perl/Parse-RecDescent
+ dev-perl/File-Which
+ >=dev-perl/XML-LibXML-0.61
+ >=dev-perl/XML-LibXSLT-1.58
+ virtual/perl-Test-Simple
+ media-gfx/imagemagick[perl]"
+
+RDEPEND="${DEPEND}"
+
+#S=${WORKDIR}/${P}
+
+myconf="TEXMF=/usr/share/texmf-site/"
+
+src_install() {
+ emake install || die "emake install failed"
+ perl_delete_module_manpages
+ perl_delete_localpod
+ perl_delete_packlist
+ rm ${D}/usr/share/texmf-site/tex/latex/latexml/.packlist
+ perl_remove_temppath
+
+ dodoc manual.pdf INSTALL README Changes
+
+ perl_link_duallife_scripts
+}
diff --git a/dev-tex/LaTeXML/Manifest b/dev-tex/LaTeXML/Manifest
new file mode 100644
index 0000000..e7eb86d
--- /dev/null
+++ b/dev-tex/LaTeXML/Manifest
@@ -0,0 +1,2 @@
+DIST LaTeXML-0.7.0.tar.gz 1115991 SHA256 19a92f5444b504baa94a6da86fa57a7508ae14797eda795ca922915ec27ed983 SHA512 565e9347d24332f64c757b2893070db0d7efabfa08f5eb34997e65fa3252285f18cf660b3b1c1b87019c024b12a010df6ba00d49aea13c6bbe172b0af47d40a0 WHIRLPOOL edf4107f374dbd6eb2822e2aee781aa22f1934772cc1bdf01c08db7acb850b68c22054ef7832e59f5b7e3c335239c49f4d4819a3dcf8d1566126509c4569f2a8
+EBUILD LaTeXML-0.7.0.ebuild 1318 SHA256 9f163c42615a6c1238ea6be82f4e6539362251527116dab88927a7a514ec11eb SHA512 15e9f525f861d5f413f8d6e86249ea38f74f7e959e29fe1b591a6d4e7cfd8eeb2a8502e41eb40c9024d7adaff0ae33228a3d70358eda34377bcc38c9e14d3d7d WHIRLPOOL f8a37c7c166b4fe3db1b315a99f169019faa42f04fdc08741e023818a6d4357529b9990e21d49dd2fe42842e6f853812113fc61fe4647d5676eb968041b97da4