homebrew-core/Formula/e2fsprogs.rb

30 lines
825 B
Ruby
Raw Normal View History

2009-12-20 22:42:33 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class E2fsprogs < Formula
2009-12-20 22:42:33 +00:00
homepage 'http://e2fsprogs.sourceforge.net/'
2013-07-04 17:15:32 +00:00
url 'http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-1.42.8.tar.gz'
sha1 '79cdb2374a9c0e68f01739598679db06d546b897'
2012-04-19 02:37:43 +00:00
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."
2009-12-20 22:42:33 +00:00
2012-04-19 02:26:08 +00:00
depends_on 'pkg-config' => :build
depends_on 'gettext'
2012-04-19 02:26:08 +00:00
# MacPorts patch to compile libs correctly.
# Fix a bare return for clang.
2012-04-19 02:26:08 +00:00
def patches
{:p0 => [
2012-04-19 02:26:08 +00:00
"https://trac.macports.org/export/92117/trunk/dports/sysutils/e2fsprogs/files/patch-lib__Makefile.darwin-lib"
]}
2012-04-19 02:26:08 +00:00
end
2009-12-20 22:42:33 +00:00
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
2012-04-19 02:26:08 +00:00
system "make install-libs"
2009-12-20 22:42:33 +00:00
end
end