summaryrefslogtreecommitdiff
path: root/homebrew/webp
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/webp')
-rw-r--r--homebrew/webp/.beer45
-rw-r--r--homebrew/webp/.make.sh-auto3
-rw-r--r--homebrew/webp/_metadata/description1
-rw-r--r--homebrew/webp/_metadata/homepage1
-rw-r--r--homebrew/webp/_metadata/name1
-rw-r--r--homebrew/webp/_metadata/version1
-rwxr-xr-xhomebrew/webp/download.sh1
7 files changed, 53 insertions, 0 deletions
diff --git a/homebrew/webp/.beer b/homebrew/webp/.beer
new file mode 100644
index 000000000..d6c234f0a
--- /dev/null
+++ b/homebrew/webp/.beer
@@ -0,0 +1,45 @@
+{
+ "name": "Webp",
+ "description": "Image format providing lossless and lossy compression for web images",
+ "url": "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.0.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://developers.google.com/speed/webp/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "jpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "libpng",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./autogen.sh\" if build.head?",
+ "system \"./configure\", \"--prefix=#{prefix}\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--disable-gif\",",
+ "\"--disable-gl\",",
+ "\"--enable-libwebpdecoder\",",
+ "\"--enable-libwebpdemux\",",
+ "\"--enable-libwebpmux\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.0.2",
+ "file": "webp.rb"
+} \ No newline at end of file
diff --git a/homebrew/webp/.make.sh-auto b/homebrew/webp/.make.sh-auto
new file mode 100644
index 000000000..525a350ad
--- /dev/null
+++ b/homebrew/webp/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --disable-gif --disable-gl --enable-libwebpdecoder --enable-libwebpdemux --enable-libwebpmux
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/webp/_metadata/description b/homebrew/webp/_metadata/description
new file mode 100644
index 000000000..f768f883c
--- /dev/null
+++ b/homebrew/webp/_metadata/description
@@ -0,0 +1 @@
+Image format providing lossless and lossy compression for web images
diff --git a/homebrew/webp/_metadata/homepage b/homebrew/webp/_metadata/homepage
new file mode 100644
index 000000000..76d2f737e
--- /dev/null
+++ b/homebrew/webp/_metadata/homepage
@@ -0,0 +1 @@
+https://developers.google.com/speed/webp/
diff --git a/homebrew/webp/_metadata/name b/homebrew/webp/_metadata/name
new file mode 100644
index 000000000..87d37cbeb
--- /dev/null
+++ b/homebrew/webp/_metadata/name
@@ -0,0 +1 @@
+Webp
diff --git a/homebrew/webp/_metadata/version b/homebrew/webp/_metadata/version
new file mode 100644
index 000000000..6d7de6e6a
--- /dev/null
+++ b/homebrew/webp/_metadata/version
@@ -0,0 +1 @@
+1.0.2
diff --git a/homebrew/webp/download.sh b/homebrew/webp/download.sh
new file mode 100755
index 000000000..1cac4998d
--- /dev/null
+++ b/homebrew/webp/download.sh
@@ -0,0 +1 @@
+wget https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.0.2.tar.gz \ No newline at end of file