2010-02-09 21:09:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libpano < Formula
|
2010-09-27 18:03:03 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/panotools/libpano13/libpano13-2.9.17/libpano13-2.9.17.tar.gz'
|
|
|
|
version '13-2.9.17'
|
2010-02-09 21:09:22 +00:00
|
|
|
homepage 'http://panotools.sourceforge.net/'
|
2010-09-27 18:03:03 +00:00
|
|
|
md5 '54ec7c505cf38521f2fbb6e2acd2c433'
|
2010-02-09 21:09:22 +00:00
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
depends_on 'jpeg'
|
2010-02-09 21:09:22 +00:00
|
|
|
depends_on 'libtiff'
|
|
|
|
|
|
|
|
def install
|
2011-03-14 21:56:38 +00:00
|
|
|
ENV.x11 # for libpng
|
2010-02-09 21:31:17 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2011-03-14 21:56:38 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-02-09 21:09:22 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|