diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/pdfsandwich | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (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/pdfsandwich')
-rw-r--r-- | homebrew/pdfsandwich/.beer | 54 | ||||
-rw-r--r-- | homebrew/pdfsandwich/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/pdfsandwich/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/pdfsandwich/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/pdfsandwich/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/pdfsandwich/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/pdfsandwich/download.sh | 1 |
7 files changed, 64 insertions, 0 deletions
diff --git a/homebrew/pdfsandwich/.beer b/homebrew/pdfsandwich/.beer new file mode 100644 index 000000000..43483bbfb --- /dev/null +++ b/homebrew/pdfsandwich/.beer @@ -0,0 +1,54 @@ +{ + "name": "Pdfsandwich", + "description": "Generate sandwich OCR PDFs from scanned file", + "url": "https://downloads.sourceforge.net/project/pdfsandwich/pdfsandwich%200.1.7/pdfsandwich-0.1.7.tar.bz2", + "mirror": null, + "homepage": "http://www.tobias-elze.de/pdfsandwich/", + "depends": [ + { + "depend": "gawk", + "build-depend": true + }, + { + "depend": "ocaml", + "build-depend": true + }, + { + "depend": "exact-image", + "build-depend": false + }, + { + "depend": "ghostscript", + "build-depend": false + }, + { + "depend": "imagemagick", + "build-depend": false + }, + { + "depend": "poppler", + "build-depend": false + }, + { + "depend": "tesseract", + "build-depend": false + }, + { + "depend": "unpaper", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "system \"./configure\", \"--disable-debug\",", + "\"--disable-dependency-tracking\",", + "\"--prefix=#{prefix}\"", + "system \"make\"", + "system \"make\", \"install\"", + "bin.env_script_all_files(libexec/\"bin\", :PATH => \"#{Formula[\"poppler\"].opt_bin}:$PATH\")" + ], + "version": "0.1.7", + "file": "pdfsandwich.rb" +}
\ No newline at end of file diff --git a/homebrew/pdfsandwich/.make.sh-auto b/homebrew/pdfsandwich/.make.sh-auto new file mode 100644 index 000000000..d4cf78c36 --- /dev/null +++ b/homebrew/pdfsandwich/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +pkg:configure --disable-dependency-tracking +make +make DESTDIR=${PKG_DEST} install +bin.env_script_all_files(libexec/"bin", :PATH => "#{Formula["poppler"].opt_bin}:$PATH") diff --git a/homebrew/pdfsandwich/_metadata/description b/homebrew/pdfsandwich/_metadata/description new file mode 100644 index 000000000..003043465 --- /dev/null +++ b/homebrew/pdfsandwich/_metadata/description @@ -0,0 +1 @@ +Generate sandwich OCR PDFs from scanned file diff --git a/homebrew/pdfsandwich/_metadata/homepage b/homebrew/pdfsandwich/_metadata/homepage new file mode 100644 index 000000000..73de7b6f3 --- /dev/null +++ b/homebrew/pdfsandwich/_metadata/homepage @@ -0,0 +1 @@ +http://www.tobias-elze.de/pdfsandwich/ diff --git a/homebrew/pdfsandwich/_metadata/name b/homebrew/pdfsandwich/_metadata/name new file mode 100644 index 000000000..de11a579b --- /dev/null +++ b/homebrew/pdfsandwich/_metadata/name @@ -0,0 +1 @@ +Pdfsandwich diff --git a/homebrew/pdfsandwich/_metadata/version b/homebrew/pdfsandwich/_metadata/version new file mode 100644 index 000000000..11808190d --- /dev/null +++ b/homebrew/pdfsandwich/_metadata/version @@ -0,0 +1 @@ +0.1.7 diff --git a/homebrew/pdfsandwich/download.sh b/homebrew/pdfsandwich/download.sh new file mode 100755 index 000000000..f76fe4e01 --- /dev/null +++ b/homebrew/pdfsandwich/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/project/pdfsandwich/pdfsandwich%200.1.7/pdfsandwich-0.1.7.tar.bz2
\ No newline at end of file |