GnuPG 1.4 formula
Doesn't build on 10.6 currently.
This commit is contained in:
parent
6491e4a564
commit
6fb42abbcf
1 changed files with 21 additions and 0 deletions
21
Formula/gnupg.rb
Normal file
21
Formula/gnupg.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
require 'brewkit'
|
||||
|
||||
class Gnupg <Formula
|
||||
@url='ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.9.tar.bz2'
|
||||
@homepage='http://www.gnupg.org/'
|
||||
@sha1='826f4bef1effce61c3799c8f7d3cc8313b340b55'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
|
||||
system "make"
|
||||
system "make check"
|
||||
|
||||
# amazingly even the GNU folks can bugger up their Makefiles, so we need
|
||||
# to create this directories because the install target has the dependency
|
||||
# order wrong
|
||||
bin.mkpath
|
||||
(libexec+'gnupg').mkpath
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue