Created
November 23, 2011 19:35
-
-
Save mhubig/1389660 to your computer and use it in GitHub Desktop.
Homebrew formular for Glusterfs 3.2git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'formula' | |
| class Glusterfs < Formula | |
| homepage 'http://www.gluster.org' | |
| url 'https://github.com/mhubig/glusterfs.git', | |
| :tag => '838224369845e7566bbbac24ffd70d166a3df422', | |
| :using => :git | |
| version '3.2git' | |
| head 'https://github.com/mhubig/glusterfs.git', | |
| :using => :git | |
| depends_on 'pkg-config' => :build | |
| depends_on 'fuse4x' | |
| def install | |
| ENV['ACLOCAL_FLAGS'] = "-I#{HOMEBREW_PREFIX}/share/aclocal" | |
| args = ["--disable-debug", "--disable-dependency-tracking", | |
| "--with-launchddir=#{prefix}/Library/LaunchDaemons", | |
| "--with-mountutildir=#{prefix}/sbin", | |
| "--prefix=#{prefix}"] | |
| system "./autogen.sh" | |
| system "./configure", *args | |
| system "make install" | |
| end | |
| def test | |
| system "glusterfsd --version" | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
trying to continue this formula at: