homebrew-core/Formula/e2fsprogs.rb
nibbles 2bits 2026d2ece1 e2fsprogs 1.42.6
- Upgrade to 1.42.6
- Works well with superenv
- Needed for ext2fuse

Closes Homebrew/homebrew#15069.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-23 21:15:56 -07:00

28 lines
794 B
Ruby

require 'formula'
class E2fsprogs < Formula
homepage 'http://e2fsprogs.sourceforge.net/'
url 'http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-1.42.6.tar.gz'
sha1 'cd05cd4205a00d01a6da821660cff386788e9be3'
head 'https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git'
keg_only "This brew installs several commands which override OS X-provided file system commands."
depends_on 'pkg-config' => :build
depends_on 'gettext'
def patches
# MacPorts patch to compile libs correctly.
{:p0 => [
"https://trac.macports.org/export/92117/trunk/dports/sysutils/e2fsprogs/files/patch-lib__Makefile.darwin-lib"
]}
end
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
system "make install-libs"
end
end