aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJustin Grevich2012-09-12 15:32:55 -0700
committerAdam Vandenberg2013-02-02 12:27:21 -0800
commit12f1d363add459eaf717c537b51e1c69045041c8 (patch)
treeb92b991cf5e7925c2d6b2d26ce041c93d5882cbe /Library
parentcb30f366e032f2948c3ad0d420db7a8a03a1c1c9 (diff)
downloadhomebrew-12f1d363add459eaf717c537b51e1c69045041c8.tar.bz2
iulib 0.4
Closes #14896. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/iulib.rb56
1 files changed, 56 insertions, 0 deletions
diff --git a/Library/Formula/iulib.rb b/Library/Formula/iulib.rb
new file mode 100644
index 000000000..0d48b5b5c
--- /dev/null
+++ b/Library/Formula/iulib.rb
@@ -0,0 +1,56 @@
+require 'formula'
+
+class Iulib < Formula
+ homepage 'http://code.google.com/p/iulib/'
+ url 'http://iulib.googlecode.com/files/iulib-0.4.tgz'
+ sha1 '96a006f806a650886fdd59b1239f6e56d1a864c1'
+
+ depends_on :autoconf
+ depends_on :automake
+ depends_on :libtool
+ depends_on :libpng
+ depends_on "libjpeg"
+ depends_on "libtiff"
+
+ def patches
+ # fixes errors in header calls
+ DATA
+ end
+
+ def install
+ system "aclocal"
+ system "./build", "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+end
+
+__END__
+diff --git a/imglib/iulib.h b/imglib/iulib.h
+index bc0eb34..06762c5 100644
+--- a/../iulib-0.41/imglib/iulib.h
++++ b/imglib/iulib.h
+@@ -27,10 +27,10 @@
+ #ifndef iulib_h__
+ #define iulib_h__
+ #include "colib/colib.h"
+-#include "bithacks.h"
+-#include "imgbitptr.h"
+-#include "imgbits.h"
+-#include "imgrle.h"
++#include "imgbits/bithacks.h"
++#include "imgbits/imgbitptr.h"
++#include "imgbits/imgbits.h"
++#include "imgbits/imgrle.h"
+ #include "autoinvert.h"
+ #include "imgio.h"
+ #include "io_jpeg.h"
+@@ -50,6 +50,6 @@
+ #include "imgrescale.h"
+ #include "imgthin.h"
+ #include "imgtrace.h"
+-#include "dgraphics.h"
+-#include "vidio.h"
++#include "utils/dgraphics.h"
++#include "vidio/vidio.h"
+ #endif