forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathemboss.rb
More file actions
26 lines (23 loc) · 675 Bytes
/
emboss.rb
File metadata and controls
26 lines (23 loc) · 675 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
require 'formula'
class Emboss < Formula
homepage 'http://emboss.sourceforge.net/'
url 'ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-6.6.0.tar.gz'
sha1 '93749ebd0a777efd3749974d2401c3a2a013a3fe'
depends_on 'pkg-config' => :build
depends_on 'libharu' => :optional
depends_on 'gd' => :optional
depends_on :libpng => :recommended
depends_on :x11 => :recommended
def install
args = %W[
--disable-debug
--disable-dependency-tracking
--prefix=#{prefix}
--enable-64
--with-thread
]
args << '--without-x' if build.without? "x11"
system './configure', *args
system 'make install'
end
end