libslax 0.16.10

Also move to github releases vs on-demand tarballs

Closes Homebrew/homebrew#21125.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Brandon Bennett 2013-07-10 09:28:12 -07:00 committed by Adam Vandenberg
parent 185a0ba0ac
commit 0c0ac02f7c

View file

@ -2,21 +2,21 @@ require 'formula'
class Libslax < Formula
homepage 'http://www.libslax.org/'
url 'https://github.com/Juniper/libslax/archive/0.16.9.tar.gz'
sha1 '96676aed054ad25e3a71b9c383a96ba86222438b'
url 'https://github.com/Juniper/libslax/releases/0.16.10/3029/libslax-0.16.10.tar.gz'
sha1 '0300a20ecf8cbc6315df3e13df3295024202378c'
head 'https://github.com/Juniper/libslax.git'
depends_on 'automake' => :build
depends_on 'automake' => :build if build.head?
depends_on 'libtool' => :build
# Need newer versions of these libraries
depends_on 'libxml2'
depends_on 'libxslt'
depends_on 'curl' if MacOS.version <= :lion
def install
system "sh ./bin/setup.sh"
# If build from read run script to run autoconf
system "sh ./bin/setup.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"