Skip to content

Instantly share code, notes, and snippets.

@benlemasurier
Created January 27, 2012 05:36
Show Gist options
  • Save benlemasurier/1687218 to your computer and use it in GitHub Desktop.
Save benlemasurier/1687218 to your computer and use it in GitHub Desktop.
stormfs homebrew test
require 'formula'
class Stormfs < Formula
url 'https://github.com/downloads/benlemasurier/stormfs/stormfs-0.01.tar.gz'
homepage 'https://github.com/benlemasurier/stormfs'
md5 '440ceda482e5b5e747217847fe8a9df6'
depends_on 'pkg-config'
depends_on 'fuse4x-kext'
depends_on 'fuse4x'
depends_on 'glib'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
# system "cmake . #{std_cmake_parameters}"
system "make install"
end
def test
# This test will fail and we won't accept that! It's enough to just
# replace "false" with the main program this formula installs, but
# it'd be nice if you were more thorough. Test the test with
# `brew test stormfs`. Remove this comment before submitting
# your pull request!
system "false"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment