summaryrefslogtreecommitdiff
path: root/homebrew/pdf2json
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/pdf2json')
-rw-r--r--homebrew/pdf2json/.beer18
-rw-r--r--homebrew/pdf2json/.make.sh-auto4
-rw-r--r--homebrew/pdf2json/_metadata/description1
-rw-r--r--homebrew/pdf2json/_metadata/homepage1
-rw-r--r--homebrew/pdf2json/_metadata/name1
-rw-r--r--homebrew/pdf2json/_metadata/version1
-rwxr-xr-xhomebrew/pdf2json/download.sh1
7 files changed, 27 insertions, 0 deletions
diff --git a/homebrew/pdf2json/.beer b/homebrew/pdf2json/.beer
new file mode 100644
index 000000000..9cda8650a
--- /dev/null
+++ b/homebrew/pdf2json/.beer
@@ -0,0 +1,18 @@
+{
+ "name": "Pdf2json",
+ "description": "PDF to JSON and XML converter",
+ "url": "https://github.com/flexpaper/pdf2json/releases/download/v0.69/pdf2json-0.69.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/flexpaper/pdf2json",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\"",
+ "system \"make\", \"CC=#{ENV.cc}\", \"CXX=#{ENV.cxx}\"",
+ "bin.install \"src/pdf2json\""
+ ],
+ "version": "0.69",
+ "file": "pdf2json.rb"
+} \ No newline at end of file
diff --git a/homebrew/pdf2json/.make.sh-auto b/homebrew/pdf2json/.make.sh-auto
new file mode 100644
index 000000000..69b37f455
--- /dev/null
+++ b/homebrew/pdf2json/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure
+make CC=${PKG_TARG}-clang CXX=${PKG_TARG}-clang++
+bin.install "src/pdf2json"
diff --git a/homebrew/pdf2json/_metadata/description b/homebrew/pdf2json/_metadata/description
new file mode 100644
index 000000000..5b3aeb534
--- /dev/null
+++ b/homebrew/pdf2json/_metadata/description
@@ -0,0 +1 @@
+PDF to JSON and XML converter
diff --git a/homebrew/pdf2json/_metadata/homepage b/homebrew/pdf2json/_metadata/homepage
new file mode 100644
index 000000000..c7f27038c
--- /dev/null
+++ b/homebrew/pdf2json/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/flexpaper/pdf2json
diff --git a/homebrew/pdf2json/_metadata/name b/homebrew/pdf2json/_metadata/name
new file mode 100644
index 000000000..3845a960e
--- /dev/null
+++ b/homebrew/pdf2json/_metadata/name
@@ -0,0 +1 @@
+Pdf2json
diff --git a/homebrew/pdf2json/_metadata/version b/homebrew/pdf2json/_metadata/version
new file mode 100644
index 000000000..b04c64745
--- /dev/null
+++ b/homebrew/pdf2json/_metadata/version
@@ -0,0 +1 @@
+0.69
diff --git a/homebrew/pdf2json/download.sh b/homebrew/pdf2json/download.sh
new file mode 100755
index 000000000..f299142ce
--- /dev/null
+++ b/homebrew/pdf2json/download.sh
@@ -0,0 +1 @@
+wget https://github.com/flexpaper/pdf2json/releases/download/v0.69/pdf2json-0.69.tar.gz \ No newline at end of file