diff options
| author | Ryan Shaw | 2009-12-28 22:11:11 -0800 |
|---|---|---|
| committer | David Höppner | 2010-01-30 14:11:29 +0100 |
| commit | b56cfaf8d719ca715c2ee69663786d597a11b9f9 (patch) | |
| tree | b2eaffc96a9db583e4f27397ad3437fbdd581ca5 /Library/Formula/aview.rb | |
| parent | 5d0469f273b1c92f3cd991c53a130723646772cf (diff) | |
| download | homebrew-b56cfaf8d719ca715c2ee69663786d597a11b9f9.tar.bz2 | |
Added new formula for aview 1.3.0rc1.
Diffstat (limited to 'Library/Formula/aview.rb')
| -rw-r--r-- | Library/Formula/aview.rb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Library/Formula/aview.rb b/Library/Formula/aview.rb new file mode 100644 index 000000000..45694e7ad --- /dev/null +++ b/Library/Formula/aview.rb @@ -0,0 +1,45 @@ +require 'formula' + +class Aview <Formula + url 'http://prdownloads.sourceforge.net/aa-project/aview-1.3.0rc1.tar.gz' + homepage 'http://aa-project.sourceforge.net/aview/' + md5 '093f298e7787591e229b59d039c72f4d' + + depends_on 'aalib' + + def patches + DATA + end + + def install + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + system "make install" + end +end + +__END__ +diff --git a/image.c b/image.c +index 232b838..9780e61 100644 +--- a/image.c ++++ b/image.c +@@ -1,6 +1,6 @@ + #include <stdio.h> + #include <unistd.h> +-#include <malloc.h> ++#include <stdlib.h> + #include "config.h" + + int imgwidth, imgheight; +diff --git a/ui.c b/ui.c +index d316f7a..134a4ca 100644 +--- a/ui.c ++++ b/ui.c +@@ -1,6 +1,6 @@ + #include <stdio.h> + #include <ctype.h> +-#include <malloc.h> ++#include <stdlib.h> + #include <string.h> + #include <aalib.h> + #include "shrink.h" + |
