Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1 from dannyarcher/Linux
Browse files Browse the repository at this point in the history
libtiff Formula
  • Loading branch information
rubiojr committed Sep 10, 2011
2 parents afb48a1 + 7d9918c commit fb20db5
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Library/Formula/libjpeg.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
require 'formula'

class Libjpeg < Formula
url 'http://www.ijg.org/files/jpegsrc.v8c.tar.gz'
homepage 'http://www.ijg.org/'
sha1 'f0a3b88ac4db19667798bee971537eeed552bce9'
version "8c"
# depends_on 'cmake'

def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end
end


17 changes: 17 additions & 0 deletions Library/Formula/libpng.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
require 'formula'

class Libpng < Formula
url 'http://downloads.sourceforge.net/project/libpng/libpng15/1.5.4/lpng154.zip'
homepage 'http://www.ijg.org/'
sha1 'b4e3ef7d7f8421c42f46aab3f6ace98aeb6e6983'
version "1.5.4"
# depends_on 'cmake'

def install
system "cp scripts/makefile.linux Makefile"
system "make prefix=#{prefix} DM=#{man}"
system "make install prefix=#{prefix} DM=#{man}"
end
end


16 changes: 16 additions & 0 deletions Library/Formula/libtiff.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
require 'formula'

class Libtiff < Formula
url 'http://www.imagemagick.org/download/delegates/tiff-3.9.4.zip'
homepage 'http://www.remotesensing.org/libtiff/'
md5 '95b112997641096d97344b1a5dc61e71'

# depends_on 'cmake'

def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end
end


0 comments on commit fb20db5

Please sign in to comment.