augeas 1.2.0
Closes Homebrew/homebrew#28412. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
fcea7e46ec
commit
606fd32fb8
1 changed files with 19 additions and 2 deletions
|
@ -2,14 +2,31 @@ require 'formula'
|
|||
|
||||
class Augeas < Formula
|
||||
homepage 'http://augeas.net'
|
||||
url 'http://download.augeas.net/augeas-1.0.0.tar.gz'
|
||||
sha1 '5d0bc5738cc77ad4731f9406fb8dceb08826bba9'
|
||||
url 'http://download.augeas.net/augeas-1.2.0.tar.gz'
|
||||
sha1 'ab63548ae5462d7b3dc90e74311b8e566ba22485'
|
||||
|
||||
head do
|
||||
url 'https://github.com/hercules-team/augeas.git'
|
||||
|
||||
depends_on :autoconf
|
||||
depends_on :automake
|
||||
depends_on :libtool
|
||||
depends_on 'bison' => :build
|
||||
end
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'libxml2'
|
||||
depends_on 'readline'
|
||||
|
||||
def install
|
||||
if build.head?
|
||||
# The bootstrap script run by autogen needs to check the state of the
|
||||
# gnulib submodule.
|
||||
ln_s cached_download + '.git', '.git'
|
||||
ln_s cached_download + '.gnulib/.git', '.gnulib/.git'
|
||||
|
||||
system './autogen.sh'
|
||||
end
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue