#13-01 [Mac]Freetype2 Formula
なんとなく作ってみた。https://gist.github.com/1816742
sharl@mitsune:~$ brew cat freetype2
require 'formula'
class Freetype2 <Formula
url 'http://download.savannah.gnu.org/releases/freetype/freetype-2.4.8.tar.bz2'
homepage 'http://freetype.sourceforge.net/index2.html'
md5 'dbf2caca1d3afd410a29217a9809d397'
version '2.4.8'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
sharl@mitsune:~$ brew install freetype2
==> Downloading http://download.savannah.gnu.org/releases/freetype/freetype-2.4.8.tar.bz2
######################################################################## 100.0%
==> ./configure --disable-debug --prefix=/usr/local/Cellar/freetype2/2.4.8
==> make install
Warning: m4 macros were installed to "share/aclocal".
Homebrew does not append "/usr/local/share/aclocal"
to "/usr/share/aclocal/dirlist". If an autoconf script you use
requires these m4 macros, you'll need to add this path manually.
==> Summary
/usr/local/Cellar/freetype2/2.4.8: 56 files, 2.5M, built in 24 seconds
動くのかしら?