diff options
| author | Chris Molozian | 2013-06-20 23:09:37 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-20 16:01:24 -0700 |
| commit | c98e5b604c3af6455a825c193d9efe7bda30ee1c (patch) | |
| tree | c9fdfa82f206f9b4983851c7a6cf13c379141f42 /Library/Formula | |
| parent | 269137eac53b2cdd77672d06e720baacf28da4a2 (diff) | |
| download | homebrew-c98e5b604c3af6455a825c193d9efe7bda30ee1c.tar.bz2 | |
dub 0.9.15
A package and build management system for the D programming language.
Closes #20117.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/dub.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/dub.rb b/Library/Formula/dub.rb new file mode 100644 index 000000000..30c1c819f --- /dev/null +++ b/Library/Formula/dub.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Dub < Formula + homepage 'http://registry.vibed.org/' + url 'https://github.com/rejectedsoftware/dub/archive/v0.9.15.tar.gz' + sha1 '408216dae221ca19220f91f9081b2f8e0d8a5484' + + head 'https://github.com/rejectedsoftware/dub.git', :revision => 'HEAD' + + depends_on 'pkg-config' => :build + depends_on 'dmd' => :build + + def install + system "./build.sh" + bin.install 'bin/dub' + end + + test do + system "#{bin}/dub; true" + end +end |
