summaryrefslogtreecommitdiff
path: root/homebrew/latexml
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/latexml
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/latexml')
-rw-r--r--homebrew/latexml/.beer30
-rw-r--r--homebrew/latexml/.make.sh-auto7
-rw-r--r--homebrew/latexml/_metadata/description1
-rw-r--r--homebrew/latexml/_metadata/homepage1
-rw-r--r--homebrew/latexml/_metadata/name1
-rw-r--r--homebrew/latexml/_metadata/version1
-rwxr-xr-xhomebrew/latexml/download.sh1
7 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/latexml/.beer b/homebrew/latexml/.beer
new file mode 100644
index 000000000..9f2330c20
--- /dev/null
+++ b/homebrew/latexml/.beer
@@ -0,0 +1,30 @@
+{
+ "name": "Latexml",
+ "description": "LaTeX to XML/HTML/MathML Converter",
+ "url": "https://dlmf.nist.gov/LaTeXML/releases/LaTeXML-0.8.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://dlmf.nist.gov/LaTeXML/",
+ "depends": [],
+ "resource": [
+ {
+ "name": "Image::Size",
+ "url": "https://cpan.metacpan.org/authors/id/R/RJ/RJRAY/Image-Size-3.300.tar.gz"
+ },
+ {
+ "name": "Text::Unidecode",
+ "url": "https://cpan.metacpan.org/authors/id/S/SB/SBURKE/Text-Unidecode-1.27.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.prepend_create_path \"PERL5LIB\", libexec+\"lib/perl5\"",
+ "resources.each do |r|",
+ "r.stage do",
+ "system \"perl\", \"Makefile.PL\", \"INSTALL_BASE=#{libexec}\"",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.8.2",
+ "file": "latexml.rb"
+} \ No newline at end of file
diff --git a/homebrew/latexml/.make.sh-auto b/homebrew/latexml/.make.sh-auto
new file mode 100644
index 000000000..093cf8773
--- /dev/null
+++ b/homebrew/latexml/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.prepend_create_path "PERL5LIB", libexec+"lib/perl5"
+resources.each do |r|
+r.stage do
+perl Makefile.PL INSTALL_BASE=#{libexec}
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/latexml/_metadata/description b/homebrew/latexml/_metadata/description
new file mode 100644
index 000000000..3d146f6a6
--- /dev/null
+++ b/homebrew/latexml/_metadata/description
@@ -0,0 +1 @@
+LaTeX to XML/HTML/MathML Converter
diff --git a/homebrew/latexml/_metadata/homepage b/homebrew/latexml/_metadata/homepage
new file mode 100644
index 000000000..9f5e35984
--- /dev/null
+++ b/homebrew/latexml/_metadata/homepage
@@ -0,0 +1 @@
+https://dlmf.nist.gov/LaTeXML/
diff --git a/homebrew/latexml/_metadata/name b/homebrew/latexml/_metadata/name
new file mode 100644
index 000000000..6ccceeea3
--- /dev/null
+++ b/homebrew/latexml/_metadata/name
@@ -0,0 +1 @@
+Latexml
diff --git a/homebrew/latexml/_metadata/version b/homebrew/latexml/_metadata/version
new file mode 100644
index 000000000..100435be1
--- /dev/null
+++ b/homebrew/latexml/_metadata/version
@@ -0,0 +1 @@
+0.8.2
diff --git a/homebrew/latexml/download.sh b/homebrew/latexml/download.sh
new file mode 100755
index 000000000..41df02823
--- /dev/null
+++ b/homebrew/latexml/download.sh
@@ -0,0 +1 @@
+wget https://dlmf.nist.gov/LaTeXML/releases/LaTeXML-0.8.2.tar.gz \ No newline at end of file