2013-06-20 22:09:37 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Dub < Formula
|
|
|
|
homepage 'http://registry.vibed.org/'
|
2013-09-16 22:04:15 +00:00
|
|
|
url 'https://github.com/rejectedsoftware/dub/archive/v0.9.18.tar.gz'
|
|
|
|
sha1 'a848d5b461eb95acc604d82de154922d3892888b'
|
2013-06-20 22:09:37 +00:00
|
|
|
|
2013-06-29 01:31:55 +00:00
|
|
|
head 'https://github.com/rejectedsoftware/dub.git'
|
2013-06-20 22:09:37 +00:00
|
|
|
|
|
|
|
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
|