aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/popt.rb
diff options
context:
space:
mode:
authorBrian Smyth2009-09-09 12:07:53 -0400
committerMax Howell2009-09-11 17:42:53 +0100
commitdb0a81deebd601f353c6ec8564a1d7bba719a900 (patch)
tree2b3b64b17ebab414a033c9810e62ce9ea30d40b7 /Library/Formula/popt.rb
parent2f84e13ba7f3a8cfb24f00ff2b4b415996a3ef72 (diff)
downloadhomebrew-db0a81deebd601f353c6ec8564a1d7bba719a900.tar.bz2
Popt formula
Popt is similar to getopt, but with a number of enhancements.
Diffstat (limited to 'Library/Formula/popt.rb')
-rw-r--r--Library/Formula/popt.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/popt.rb b/Library/Formula/popt.rb
new file mode 100644
index 000000000..bb558d8a6
--- /dev/null
+++ b/Library/Formula/popt.rb
@@ -0,0 +1,12 @@
+require 'brewkit'
+
+class Popt <Formula
+ @url='http://rpm5.org/files/popt/popt-1.14.tar.gz'
+ @homepage='http://rpm5.org'
+ @md5='4f90a07316eb825604dd10ae4f9f3f04'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end