homebrew-core/Formula/apt-dater.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

23 lines
607 B
Ruby

require 'formula'
class AptDater < Formula
homepage 'http://www.ibh.de/apt-dater/'
url 'http://downloads.sourceforge.net/project/apt-dater/apt-dater/0.9.0/apt-dater-0.9.0.tar.gz'
sha1 'f62fe55602f2526f2830c3c266b8c392bb908d92'
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