summaryrefslogtreecommitdiff
path: root/homebrew/pngcrush
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/pngcrush')
-rw-r--r--homebrew/pngcrush/.beer20
-rw-r--r--homebrew/pngcrush/.make.sh-auto3
-rw-r--r--homebrew/pngcrush/_metadata/description1
-rw-r--r--homebrew/pngcrush/_metadata/homepage1
-rw-r--r--homebrew/pngcrush/_metadata/name1
-rw-r--r--homebrew/pngcrush/_metadata/version1
-rwxr-xr-xhomebrew/pngcrush/download.sh1
7 files changed, 28 insertions, 0 deletions
diff --git a/homebrew/pngcrush/.beer b/homebrew/pngcrush/.beer
new file mode 100644
index 000000000..43dc782f4
--- /dev/null
+++ b/homebrew/pngcrush/.beer
@@ -0,0 +1,20 @@
+{
+ "name": "Pngcrush",
+ "description": "Optimizer for PNG files",
+ "url": "https://downloads.sourceforge.net/project/pmt/pngcrush/1.8.13/pngcrush-1.8.13.tar.xz",
+ "mirror": null,
+ "homepage": "https://pmt.sourceforge.io/pngcrush",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"CC=#{ENV.cc}\",",
+ "\"LD=#{ENV.cc}\",",
+ "\"CFLAGS=#{ENV.cflags}\",",
+ "\"LDFLAGS=#{ENV.ldflags}\"",
+ "bin.install \"pngcrush\""
+ ],
+ "version": "1.8.13",
+ "file": "pngcrush.rb"
+} \ No newline at end of file
diff --git a/homebrew/pngcrush/.make.sh-auto b/homebrew/pngcrush/.make.sh-auto
new file mode 100644
index 000000000..98ed6910b
--- /dev/null
+++ b/homebrew/pngcrush/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+make CC=${PKG_TARG}-clang LD=${PKG_TARG}-clang CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS}
+bin.install "pngcrush"
diff --git a/homebrew/pngcrush/_metadata/description b/homebrew/pngcrush/_metadata/description
new file mode 100644
index 000000000..a10c732b6
--- /dev/null
+++ b/homebrew/pngcrush/_metadata/description
@@ -0,0 +1 @@
+Optimizer for PNG files
diff --git a/homebrew/pngcrush/_metadata/homepage b/homebrew/pngcrush/_metadata/homepage
new file mode 100644
index 000000000..a50abaf1a
--- /dev/null
+++ b/homebrew/pngcrush/_metadata/homepage
@@ -0,0 +1 @@
+https://pmt.sourceforge.io/pngcrush
diff --git a/homebrew/pngcrush/_metadata/name b/homebrew/pngcrush/_metadata/name
new file mode 100644
index 000000000..e7631978c
--- /dev/null
+++ b/homebrew/pngcrush/_metadata/name
@@ -0,0 +1 @@
+Pngcrush
diff --git a/homebrew/pngcrush/_metadata/version b/homebrew/pngcrush/_metadata/version
new file mode 100644
index 000000000..59009bc57
--- /dev/null
+++ b/homebrew/pngcrush/_metadata/version
@@ -0,0 +1 @@
+1.8.13
diff --git a/homebrew/pngcrush/download.sh b/homebrew/pngcrush/download.sh
new file mode 100755
index 000000000..1b43f29c2
--- /dev/null
+++ b/homebrew/pngcrush/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/pmt/pngcrush/1.8.13/pngcrush-1.8.13.tar.xz \ No newline at end of file