aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjiayong.ou2011-09-02 17:35:22 +0200
committerAdam Vandenberg2011-09-02 09:56:21 -0700
commitaa0922ecdb234bf7966bc0a9c08cfd9a03026dfd (patch)
tree4bf91a912b5aa6fd6c5013a779855b746cac1d1d
parentd38568db141d1f2ebfe377cf39a80541afe86434 (diff)
downloadhomebrew-aa0922ecdb234bf7966bc0a9c08cfd9a03026dfd.tar.bz2
iso-codes 3.28
This package aims to provide the list of the country and language (and currency) names in one place, rather than repeated in many programs. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/iso-codes.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/iso-codes.rb b/Library/Formula/iso-codes.rb
new file mode 100644
index 000000000..dab95be42
--- /dev/null
+++ b/Library/Formula/iso-codes.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class IsoCodes < Formula
+ url 'http://ftp.us.debian.org/debian/pool/main/i/iso-codes/iso-codes_3.28.orig.tar.bz2'
+ homepage 'http://pkg-isocodes.alioth.debian.org/'
+ md5 'f84dda8dcf7ffdcbe64c82b7c2165bf8'
+
+ depends_on 'gettext' => :build
+
+ def install
+ # Add keg-only gettext bin to path
+ ENV.append 'PATH', Formula.factory('gettext').bin
+
+ system "./configure", "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+end