homebrew-core/Formula/fakeroot.rb
Dominyk Tiller a0e299700b fakeroot: add head
Adds a HEAD build to Fakeroot, specifies the non-functional
status of Fakeroot on Yosemite in the stable release, moves to the
upstream preferred package page, adds a slightly faster mirror as the
main url & uses the standard url as the mirror.

Closes Homebrew/homebrew#33532.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-10-28 23:06:52 -05:00

33 lines
976 B
Ruby

require "formula"
class Fakeroot < Formula
homepage "https://tracker.debian.org/pkg/fakeroot"
stable do
url "https://mirrors.kernel.org/debian/pool/main/f/fakeroot/fakeroot_1.18.4.orig.tar.bz2"
mirror "http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.18.4.orig.tar.bz2"
sha1 "60cdd12ea3a72f3676c0f3930ab908ff1f13b996"
# Monitor this with each release
# https://github.com/Homebrew/homebrew/issues/33400#issuecomment-59827330
depends_on MaximumMacOSRequirement => :mavericks
end
head "https://anonscm.debian.org/git/users/clint/fakeroot.git"
depends_on :autoconf
depends_on :automake
depends_on :libtool
def install
system "./bootstrap"
system "./configure", "--disable-dependency-tracking",
"--disable-static",
"--prefix=#{prefix}"
system "make", "install"
end
test do
assert_equal "root", shell_output("#{bin}/fakeroot whoami").strip
end
end