e2fsprogs 1.42.12
Closes Homebrew/homebrew#38921. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
ff729e7292
commit
f6526c3a56
1 changed files with 10 additions and 14 deletions
|
@ -1,9 +1,8 @@
|
||||||
require "formula"
|
|
||||||
|
|
||||||
class E2fsprogs < Formula
|
class E2fsprogs < Formula
|
||||||
homepage "http://e2fsprogs.sourceforge.net/"
|
homepage "http://e2fsprogs.sourceforge.net/"
|
||||||
url "https://downloads.sourceforge.net/e2fsprogs/e2fsprogs-1.42.11.tar.gz"
|
url "https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.42.12/e2fsprogs-1.42.12.tar.gz"
|
||||||
sha1 "3d30eb40f3ca69dcef373a505a061b582e1026c2"
|
mirror "https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.42.12/e2fsprogs-1.42.12.tar.gz"
|
||||||
|
sha256 "e17846d91a0edd89fa59b064bde8f8e5cec5851e35f587bcccb4014dbd63186c"
|
||||||
|
|
||||||
head "https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git"
|
head "https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git"
|
||||||
|
|
||||||
|
@ -12,18 +11,15 @@ class E2fsprogs < Formula
|
||||||
depends_on "pkg-config" => :build
|
depends_on "pkg-config" => :build
|
||||||
depends_on "gettext"
|
depends_on "gettext"
|
||||||
|
|
||||||
# MacPorts patch to compile libs correctly.
|
|
||||||
# Fix a bare return for clang.
|
|
||||||
patch :p0 do
|
|
||||||
url "https://trac.macports.org/export/92117/trunk/dports/sysutils/e2fsprogs/files/patch-lib__Makefile.darwin-lib"
|
|
||||||
sha1 "d6ebd54e504187a6f59e0e0f347aa373692b78d9"
|
|
||||||
end
|
|
||||||
|
|
||||||
def install
|
def install
|
||||||
ENV.deparallelize
|
|
||||||
system "./configure", "--prefix=#{prefix}", "--disable-e2initrd-helper"
|
system "./configure", "--prefix=#{prefix}", "--disable-e2initrd-helper"
|
||||||
system "make"
|
system "make"
|
||||||
system "make install"
|
system "make", "install"
|
||||||
system "make install-libs"
|
system "make", "install-libs"
|
||||||
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
assert_equal 36, shell_output("#{bin}/uuidgen").strip.length
|
||||||
|
system bin/"lsattr", "-al"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue