diff options
| author | bmehaffey | 2011-02-23 12:51:26 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-13 09:42:33 -0700 |
| commit | 3f553821881339447e4269524d52df361e783e59 (patch) | |
| tree | 3a9becd9e912d079ac23fcd7866aa37b654f84e6 /Library/Formula | |
| parent | 798ab58a52da69e4e4d3cb821b57993992839eb8 (diff) | |
| download | homebrew-3f553821881339447e4269524d52df361e783e59.tar.bz2 | |
gengetopt 2.2.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gengetopt.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/gengetopt.rb b/Library/Formula/gengetopt.rb new file mode 100644 index 000000000..e3fe0d384 --- /dev/null +++ b/Library/Formula/gengetopt.rb @@ -0,0 +1,18 @@ +require 'formula' + +class Gengetopt < Formula + url 'ftp://ftp.gnu.org/gnu/gengetopt/gengetopt-2.22.4.tar.gz' + homepage 'http://www.gnu.org/software/gengetopt/' + md5 'e69d1b051784eb3a1c9fae36cb8b25ea' + + def install + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--mandir=#{man}" + system "make" + # Bug in gengetopt's build system; permissions not set on some + # scripts required for installation + chmod_R 0755, 'build-aux/' + system "make install" + end +end |
