blob: 240d3b9eb2c54bc48b8c5b5d0f8b003c54ff058b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  | 
require 'formula'
class AptDater < Formula
  homepage 'http://www.ibh.de/apt-dater/'
  url 'http://sourceforge.net/projects/apt-dater/files/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
  def test
    system "#{bin}/apt-dater", "-v"
  end
end
  |