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>
master
jiayong.ou 2011-09-02 17:35:22 +02:00 committed by Adam Vandenberg
parent 9b86f22435
commit 3ed9577ab6
1 changed files with 18 additions and 0 deletions

18
Formula/iso-codes.rb Normal file
View File

@ -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