aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/vstr.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/vstr.rb b/Library/Formula/vstr.rb
new file mode 100644
index 000000000..8b47a4b70
--- /dev/null
+++ b/Library/Formula/vstr.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Vstr < Formula
+ homepage 'http://www.and.org/vstr/'
+ url 'http://www.and.org/vstr/1.0.15/vstr-1.0.15.tar.bz2'
+ sha1 '4d2c19cb83f30239b3800abc5c9eda4f24dd0b78'
+
+ depends_on 'pkg-config' => :build
+
+ def install
+ ENV.append 'CFLAGS', '--std=gnu89' if ENV.compiler == :clang
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}", "--mandir=#{man}"
+ system "make", "install"
+ end
+end