forked from necromant2005/homebrew-boneyard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
iulib.rb
51 lines (47 loc) · 1.22 KB
/
iulib.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
class Iulib < Formula
homepage "https://code.google.com/p/iulib/"
url "https://iulib.googlecode.com/files/iulib-0.4.tgz"
sha256 "c70dab420f5ce0ff0185c922881576f4a82eacec3feb0befa66bd7468151d99b"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "libpng"
depends_on "jpeg"
depends_on "libtiff"
patch :DATA # fixes errors in header calls
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