Skip to content
This repository
Browse code

iulib 0.4

Closes #14896.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
commit c899a27a039f97a5e62413a6f3d4af0e9cecf637 1 parent 03d1f65
Justin Grevich authored September 12, 2012 n1k0 committed February 13, 2013

Showing 1 changed file with 56 additions and 0 deletions. Show diff stats Hide diff stats

  1. 56  Library/Formula/iulib.rb
56  Library/Formula/iulib.rb
... ...
@@ -0,0 +1,56 @@
  1
+require 'formula'
  2
+
  3
+class Iulib < Formula
  4
+  homepage 'http://code.google.com/p/iulib/'
  5
+  url 'http://iulib.googlecode.com/files/iulib-0.4.tgz'
  6
+  sha1 '96a006f806a650886fdd59b1239f6e56d1a864c1'
  7
+
  8
+  depends_on :autoconf
  9
+  depends_on :automake
  10
+  depends_on :libtool
  11
+  depends_on :libpng
  12
+  depends_on "libjpeg"
  13
+  depends_on "libtiff"
  14
+
  15
+  def patches
  16
+    # fixes errors in header calls
  17
+    DATA
  18
+  end
  19
+
  20
+  def install
  21
+    system "aclocal"
  22
+    system "./build", "--prefix=#{prefix}"
  23
+    system "make"
  24
+    system "make install"
  25
+  end
  26
+end
  27
+
  28
+__END__
  29
+diff --git a/imglib/iulib.h b/imglib/iulib.h
  30
+index bc0eb34..06762c5 100644
  31
+--- a/../iulib-0.41/imglib/iulib.h
  32
++++ b/imglib/iulib.h
  33
+@@ -27,10 +27,10 @@
  34
+ #ifndef iulib_h__
  35
+ #define iulib_h__
  36
+ #include "colib/colib.h"
  37
+-#include "bithacks.h"
  38
+-#include "imgbitptr.h"
  39
+-#include "imgbits.h"
  40
+-#include "imgrle.h"
  41
++#include "imgbits/bithacks.h"
  42
++#include "imgbits/imgbitptr.h"
  43
++#include "imgbits/imgbits.h"
  44
++#include "imgbits/imgrle.h"
  45
+ #include "autoinvert.h"
  46
+ #include "imgio.h"
  47
+ #include "io_jpeg.h"
  48
+@@ -50,6 +50,6 @@
  49
+ #include "imgrescale.h"
  50
+ #include "imgthin.h"
  51
+ #include "imgtrace.h"
  52
+-#include "dgraphics.h"
  53
+-#include "vidio.h"
  54
++#include "utils/dgraphics.h"
  55
++#include "vidio/vidio.h"
  56
+ #endif

0 notes on commit c899a27

Please sign in to comment.
Something went wrong with that request. Please try again.