aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNelson Darkwah Oppong2014-10-09 12:44:09 +0200
committerJack Nagel2014-12-07 01:53:20 -0500
commite97a44502680aa969a9fe0dce6172591de1de378 (patch)
treeed09f91b69a7861aa79ab6f2c60269e95e4da1e1 /Library/Formula
parenta162d1aea203299c2d56e048b435c146e5d38b25 (diff)
downloadhomebrew-e97a44502680aa969a9fe0dce6172591de1de378.tar.bz2
New formula: epeg 0.9.1.042
Closes #33054. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/epeg.rb28
1 files changed, 28 insertions, 0 deletions
diff --git a/Library/Formula/epeg.rb b/Library/Formula/epeg.rb
new file mode 100644
index 000000000..9fc5080db
--- /dev/null
+++ b/Library/Formula/epeg.rb
@@ -0,0 +1,28 @@
+require "formula"
+
+class Epeg < Formula
+ homepage "https://github.com/mattes/epeg"
+ url "https://github.com/mattes/epeg/archive/v0.9.1.042.tar.gz"
+ sha1 "51ef8a55c9567e75c64bf3390fe7c92aa76ac306"
+
+ head "https://github.com/mattes/epeg.git"
+
+ depends_on "automake" => :build
+ depends_on "jpeg"
+ depends_on "libexif"
+
+ def install
+ system "./configure", "--disable-debug",
+ "--disable-dependency-tracking",
+ "--disable-silent-rules",
+ "--prefix=#{prefix}"
+ system "make", "install"
+ end
+
+ test do
+ system "epeg", "--width=1",
+ "--height=1",
+ test_fixtures("test.jpg")
+ "out.jpg"
+ end
+end