summaryrefslogtreecommitdiff
path: root/homebrew/djvulibre
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/djvulibre')
-rw-r--r--homebrew/djvulibre/.beer41
-rw-r--r--homebrew/djvulibre/.make.sh-auto5
-rw-r--r--homebrew/djvulibre/_metadata/description1
-rw-r--r--homebrew/djvulibre/_metadata/homepage1
-rw-r--r--homebrew/djvulibre/_metadata/name1
-rw-r--r--homebrew/djvulibre/_metadata/version1
-rwxr-xr-xhomebrew/djvulibre/download.sh1
7 files changed, 51 insertions, 0 deletions
diff --git a/homebrew/djvulibre/.beer b/homebrew/djvulibre/.beer
new file mode 100644
index 000000000..689f38d59
--- /dev/null
+++ b/homebrew/djvulibre/.beer
@@ -0,0 +1,41 @@
+{
+ "name": "Djvulibre",
+ "description": "DjVu viewer",
+ "url": "https://downloads.sourceforge.net/project/djvu/DjVuLibre/3.5.27/djvulibre-3.5.27.tar.gz",
+ "mirror": null,
+ "homepage": "https://djvu.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "jpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "libtiff",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./autogen.sh\" if build.head?",
+ "system \"./configure\", \"--prefix=#{prefix}\", \"--disable-desktopfiles\"",
+ "system \"make\"",
+ "system \"make\", \"install\"",
+ "(share/\"doc/djvu\").install Dir[\"doc/*\"]"
+ ],
+ "version": "3.5.27",
+ "file": "djvulibre.rb"
+} \ No newline at end of file
diff --git a/homebrew/djvulibre/.make.sh-auto b/homebrew/djvulibre/.make.sh-auto
new file mode 100644
index 000000000..36529957d
--- /dev/null
+++ b/homebrew/djvulibre/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+pkg:configure --disable-desktopfiles
+make
+make DESTDIR=${PKG_DEST} install
+(share/"doc/djvu").install Dir["doc/*"]
diff --git a/homebrew/djvulibre/_metadata/description b/homebrew/djvulibre/_metadata/description
new file mode 100644
index 000000000..1aa76cd00
--- /dev/null
+++ b/homebrew/djvulibre/_metadata/description
@@ -0,0 +1 @@
+DjVu viewer
diff --git a/homebrew/djvulibre/_metadata/homepage b/homebrew/djvulibre/_metadata/homepage
new file mode 100644
index 000000000..3ee18dfd1
--- /dev/null
+++ b/homebrew/djvulibre/_metadata/homepage
@@ -0,0 +1 @@
+https://djvu.sourceforge.io/
diff --git a/homebrew/djvulibre/_metadata/name b/homebrew/djvulibre/_metadata/name
new file mode 100644
index 000000000..7d4badab0
--- /dev/null
+++ b/homebrew/djvulibre/_metadata/name
@@ -0,0 +1 @@
+Djvulibre
diff --git a/homebrew/djvulibre/_metadata/version b/homebrew/djvulibre/_metadata/version
new file mode 100644
index 000000000..96e9491b7
--- /dev/null
+++ b/homebrew/djvulibre/_metadata/version
@@ -0,0 +1 @@
+3.5.27
diff --git a/homebrew/djvulibre/download.sh b/homebrew/djvulibre/download.sh
new file mode 100755
index 000000000..e633e7d65
--- /dev/null
+++ b/homebrew/djvulibre/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/djvu/DjVuLibre/3.5.27/djvulibre-3.5.27.tar.gz \ No newline at end of file