aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/io.rb
diff options
context:
space:
mode:
authorGabe Berke-Williams2011-09-06 16:02:08 -0400
committerMax Howell2011-09-20 02:27:45 +0100
commit335383549eb8cca5b47100bd5e89213b597a1899 (patch)
treee2d5c44f05fed5cb527799efd4eac9cf0af7264c /Library/Formula/io.rb
parentb3a2521d25008aec66a3ab017d93b2214c395ca6 (diff)
downloadhomebrew-335383549eb8cca5b47100bd5e89213b597a1899.tar.bz2
Use latest stable version of Io
Closes #7460. This is the last known stable version of Io. However it is very old. If you can find a newer stable version, please add it! Signed-off-by: Max Howell <max@methylblue.com>
Diffstat (limited to 'Library/Formula/io.rb')
-rw-r--r--Library/Formula/io.rb39
1 files changed, 7 insertions, 32 deletions
diff --git a/Library/Formula/io.rb b/Library/Formula/io.rb
index ee1048061..c6a734b5e 100644
--- a/Library/Formula/io.rb
+++ b/Library/Formula/io.rb
@@ -1,32 +1,22 @@
require 'formula'
class Io < Formula
- head 'https://github.com/stevedekorte/io.git'
+ url 'https://github.com/stevedekorte/io/tarball/2010.06.06'
homepage 'http://iolanguage.com/'
+ md5 '7968fbe5367aad7a630fc7094be1775b'
+ head 'https://github.com/stevedekorte/io.git'
- depends_on 'cmake' => :build
depends_on 'libsgml'
depends_on 'ossp-uuid'
depends_on 'libevent'
- # Either CMake doesn't detect OS X's png include path correctly,
- # or there's an issue with io's build system; force the path in
- # so we can build.
- def patches
- DATA
- end
-
def install
- opoo "IO fails to build often!"
- puts "There is no stable revision: https://github.com/mxcl/homebrew/issues/7399"
-
ENV.j1
- mkdir 'io-build'
- Dir.chdir 'io-build' do
- system "cmake .. #{std_cmake_parameters}"
- system "make install"
- end
+ system "make vm"
+ system "make install"
+ system "make port"
+ system "make install"
rm_f Dir['docs/*.pdf']
doc.install Dir['docs/*']
@@ -34,18 +24,3 @@ class Io < Formula
prefix.install 'license/bsd_license.txt' => 'LICENSE'
end
end
-
-__END__
-diff --git a/addons/Image/CMakeLists.txt b/addons/Image/CMakeLists.txt
-index a65693d..2166f1b 100644
---- a/addons/Image/CMakeLists.txt
-+++ b/addons/Image/CMakeLists.txt
-@@ -22,7 +22,7 @@ if(PNG_FOUND AND TIFF_FOUND AND JPEG_FOUND)
- add_definitions(-DBUILDING_IMAGE_ADDON)
-
- # Additional include directories
-- include_directories(${PNG_INCLUDE_DIR} ${TIFF_INCLUDE_DIR} ${JPEG_INCLUDE_DIR})
-+ include_directories("/usr/X11/include" ${PNG_INCLUDE_DIR} ${TIFF_INCLUDE_DIR} ${JPEG_INCLUDE_DIR})
-
- # Generate the IoImageInit.c file.
- # Argument SHOULD ALWAYS be the exact name of the addon, case is