-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathweb-base.rb
More file actions
33 lines (28 loc) · 877 Bytes
/
web-base.rb
File metadata and controls
33 lines (28 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#Template generated on 2019-02-13 10:45:03 +0000
#Do not edit this file. Modify the relevant config and regenerate
require 'digest'
class WebBase < Formula
url 'file://'+File.expand_path(__FILE__)
desc 'Dependencies for the WebBase formula'
sha256 Digest::SHA256.file(File.expand_path(__FILE__)).hexdigest
version '6'
depends_on 'gcc'
depends_on 'perl'
depends_on 'python'
depends_on 'jdk@8'
depends_on 'git'
depends_on 'cmake' => ["without-docs"]
depends_on 'fontconfig' => ["without-docs"]
depends_on 'cpanm'
depends_on 'ensembl/web/nginx-full' => ["set-misc-module"]
def install
File.open('web-base', 'w') { |file|
file.write '#!/bin/sh'+"\n"
deps.each do | dep |
f = dep.to_formula
file.write "echo "+[f.full_name, f.version, f.prefix].join("\t")+"\n"
end
}
bin.install 'web-base'
end
end