2012-08-12 17:25:01 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libslax < Formula
|
2013-06-17 19:23:09 +00:00
|
|
|
homepage 'http://www.libslax.org/'
|
2013-07-07 16:16:27 +00:00
|
|
|
url 'https://github.com/Juniper/libslax/archive/0.16.9.tar.gz'
|
|
|
|
sha1 '96676aed054ad25e3a71b9c383a96ba86222438b'
|
2012-08-12 17:25:01 +00:00
|
|
|
|
2013-06-17 19:23:09 +00:00
|
|
|
head 'https://github.com/Juniper/libslax.git'
|
|
|
|
|
|
|
|
depends_on 'automake' => :build
|
2012-08-12 17:25:01 +00:00
|
|
|
depends_on 'libtool' => :build
|
|
|
|
|
|
|
|
# Need newer versions of these libraries
|
2013-07-02 15:48:47 +00:00
|
|
|
depends_on 'libxml2'
|
|
|
|
depends_on 'libxslt'
|
|
|
|
depends_on 'curl' if MacOS.version <= :lion
|
2012-08-12 17:25:01 +00:00
|
|
|
|
|
|
|
def install
|
2013-06-17 19:23:09 +00:00
|
|
|
system "sh ./bin/setup.sh"
|
2012-08-12 17:25:01 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|