2012-01-07 15:33:16 +00:00
|
|
|
class AptDater < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Manage package updates on remote hosts using SSH"
|
2015-10-17 08:38:59 +00:00
|
|
|
homepage "https://www.ibh.de/apt-dater/"
|
2015-08-03 12:55:31 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/apt-dater/apt-dater/0.9.0/apt-dater-0.9.0.tar.gz"
|
|
|
|
sha256 "10b8335c156dabae249aa071cf8689900fae325c2e9540e36a840a2a77d3eeb4"
|
2012-01-07 15:33:16 +00:00
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "gettext"
|
|
|
|
depends_on "glib"
|
|
|
|
depends_on "popt"
|
2012-01-07 15:33:16 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-13 03:44:34 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2012-01-07 15:33:16 +00:00
|
|
|
"--prefix=#{prefix}"
|
2012-02-13 03:44:34 +00:00
|
|
|
system "make", "AM_LDFLAGS=", "install"
|
2012-01-07 15:33:16 +00:00
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/apt-dater", "-v"
|
2012-01-07 15:33:16 +00:00
|
|
|
end
|
|
|
|
end
|