2010-08-03 03:34:39 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Imlib2 < Formula
|
2010-08-03 03:34:39 +00:00
|
|
|
homepage 'http://sourceforge.net/projects/enlightenment/files/'
|
2012-03-18 03:28:11 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/enlightenment/imlib2-src/1.4.5/imlib2-1.4.5.tar.bz2'
|
|
|
|
md5 '859e5fede51ec819f4314eee11da3ea5'
|
2010-08-03 03:34:39 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.x11 # For freetype
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--enable-amd64=no"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|