require 'formula' class IsoCodes < Formula homepage 'http://pkg-isocodes.alioth.debian.org/' url 'http://pkg-isocodes.alioth.debian.org/downloads/iso-codes-3.51.tar.xz' sha1 '2616a3f3420fab69b800675df7456175f87e0cdf' depends_on 'gettext' => :build def install system "./configure", "--prefix=#{prefix}" system "make" system "make install" end end