28 lines
969 B
Ruby
28 lines
969 B
Ruby
class AptDater < Formula
|
|
desc "Manage package updates on remote hosts using SSH"
|
|
homepage "https://www.ibh.de/apt-dater/"
|
|
url "https://downloads.sourceforge.net/project/apt-dater/apt-dater/0.9.0/apt-dater-0.9.0.tar.gz"
|
|
sha256 "10b8335c156dabae249aa071cf8689900fae325c2e9540e36a840a2a77d3eeb4"
|
|
|
|
bottle do
|
|
sha256 "ac82bb9943120aa1325e782c2ef99cad7a6ecd12f260c0f7f1e054015c7f39bc" => :el_capitan
|
|
sha256 "7d2a6d082f2a2d0271bb7c87f30ddda2a94a51134dc1efa490b6042bfdf21bc4" => :yosemite
|
|
sha256 "43774745944523bb099fad706d8bc8ac81ec0716ca1c41c2cacb1352a9902e90" => :mavericks
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "gettext"
|
|
depends_on "glib"
|
|
depends_on "popt"
|
|
|
|
def install
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "AM_LDFLAGS=", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/apt-dater", "-v"
|
|
end
|
|
end
|