summaryrefslogtreecommitdiff
path: root/homebrew/mupdftools
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mupdftools')
-rw-r--r--homebrew/mupdftools/.beer24
-rw-r--r--homebrew/mupdftools/.make.sh-auto4
-rw-r--r--homebrew/mupdftools/_metadata/description1
-rw-r--r--homebrew/mupdftools/_metadata/homepage1
-rw-r--r--homebrew/mupdftools/_metadata/name1
-rw-r--r--homebrew/mupdftools/_metadata/version1
-rwxr-xr-xhomebrew/mupdftools/download.sh1
7 files changed, 33 insertions, 0 deletions
diff --git a/homebrew/mupdftools/.beer b/homebrew/mupdftools/.beer
new file mode 100644
index 000000000..ade3c9258
--- /dev/null
+++ b/homebrew/mupdftools/.beer
@@ -0,0 +1,24 @@
+{
+ "name": "MupdfTools",
+ "description": "Lightweight PDF and XPS viewer",
+ "url": "https://mupdf.com/downloads/archive/mupdf-1.14.0-source.tar.gz",
+ "mirror": null,
+ "homepage": "https://mupdf.com/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"install\",",
+ "\"build=release\",",
+ "\"verbose=yes\",",
+ "\"HAVE_X11=no\",",
+ "\"HAVE_GLUT=no\",",
+ "\"CC=#{ENV.cc}\",",
+ "\"prefix=#{prefix}\"",
+ "bin.install_symlink bin/\"mutool\" => \"mudraw\"",
+ "man1.install_symlink man1/\"mutool.1\" => \"mudraw.1\""
+ ],
+ "version": "1.14.0",
+ "file": "mupdf-tools.rb"
+} \ No newline at end of file
diff --git a/homebrew/mupdftools/.make.sh-auto b/homebrew/mupdftools/.make.sh-auto
new file mode 100644
index 000000000..1fe28b73c
--- /dev/null
+++ b/homebrew/mupdftools/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+make DESTDIR=${PKG_DEST} install build=release verbose=yes HAVE_X11=no HAVE_GLUT=no CC=${PKG_TARG}-clang prefix=${PKG_TAPF}
+bin.install_symlink bin/"mutool" => "mudraw"
+man1.install_symlink man1/"mutool.1" => "mudraw.1"
diff --git a/homebrew/mupdftools/_metadata/description b/homebrew/mupdftools/_metadata/description
new file mode 100644
index 000000000..18b2dde0e
--- /dev/null
+++ b/homebrew/mupdftools/_metadata/description
@@ -0,0 +1 @@
+Lightweight PDF and XPS viewer
diff --git a/homebrew/mupdftools/_metadata/homepage b/homebrew/mupdftools/_metadata/homepage
new file mode 100644
index 000000000..0d49420ce
--- /dev/null
+++ b/homebrew/mupdftools/_metadata/homepage
@@ -0,0 +1 @@
+https://mupdf.com/
diff --git a/homebrew/mupdftools/_metadata/name b/homebrew/mupdftools/_metadata/name
new file mode 100644
index 000000000..99fb967f3
--- /dev/null
+++ b/homebrew/mupdftools/_metadata/name
@@ -0,0 +1 @@
+MupdfTools
diff --git a/homebrew/mupdftools/_metadata/version b/homebrew/mupdftools/_metadata/version
new file mode 100644
index 000000000..850e74240
--- /dev/null
+++ b/homebrew/mupdftools/_metadata/version
@@ -0,0 +1 @@
+1.14.0
diff --git a/homebrew/mupdftools/download.sh b/homebrew/mupdftools/download.sh
new file mode 100755
index 000000000..f582669e1
--- /dev/null
+++ b/homebrew/mupdftools/download.sh
@@ -0,0 +1 @@
+wget https://mupdf.com/downloads/archive/mupdf-1.14.0-source.tar.gz \ No newline at end of file