2010-12-13 22:41:24 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libicns < Formula
|
2010-12-13 22:41:24 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/icns/icns/libicns-0.7.1/libicns-0.7.1.tar.gz'
|
|
|
|
homepage 'http://icns.sourceforge.net/'
|
|
|
|
md5 'ff4624353a074c6cb51e41d145070e10'
|
|
|
|
|
|
|
|
depends_on 'jasper' # or openjpeg
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.libpng
|
2010-12-29 04:54:31 +00:00
|
|
|
ENV.universal_binary # build fat so wine can use it
|
2010-12-13 22:41:24 +00:00
|
|
|
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|