aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorYacin Nadji2010-11-04 12:37:54 -0400
committerAdam Vandenberg2011-03-10 21:00:58 -0800
commita2085a72b74ca5a28d408cbbbdefde7d26ece93d (patch)
treea2ce215e2106e6a7597ae6b761fbd6b52313331c /Library/Formula
parent2aa94dbaa8704bcc4339949bff98ecbe0303aa2c (diff)
downloadhomebrew-a2085a72b74ca5a28d408cbbbdefde7d26ece93d.tar.bz2
add aardvark_shell_utils
Aardvark shell utils includes three helpful programs: realpath(1) is an implementation of the realpath(3) function for returning the canonicalized absolute pathname of an input path. filebase(1) returns the base portion of a filename, that is the filename with its extension (e.g. .txt) removed. fileext(1) returns the extension portion of a filename (e.g. txt). Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/aardvark_shell_utils.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/aardvark_shell_utils.rb b/Library/Formula/aardvark_shell_utils.rb
new file mode 100644
index 000000000..7bba6f8a4
--- /dev/null
+++ b/Library/Formula/aardvark_shell_utils.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class AardvarkShellUtils <Formula
+ url 'http://downloads.laffeycomputer.com/current_builds/shellutils/aardvark_shell_utils-1.0.tar.gz'
+ homepage 'http://www.laffeycomputer.com/shellutils.html'
+ md5 '2e3a3bb99a07e82b44237daf23de4626'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--mandir=#{man}"
+ system "make"
+ system "make install"
+ end
+end