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