2013-02-22 23:13:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ncdc < Formula
|
|
|
|
homepage 'http://dev.yorhel.nl/ncdc'
|
2013-04-03 15:29:45 +00:00
|
|
|
url 'http://dev.yorhel.nl/download/ncdc-1.16.1.tar.gz'
|
|
|
|
sha1 '3bdbf8c58a95eab2dc318bd853be991343f88fe9'
|
2013-02-22 23:13:50 +00:00
|
|
|
|
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'sqlite'
|
|
|
|
depends_on 'gnutls'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2013-03-25 18:35:20 +00:00
|
|
|
test do
|
|
|
|
system "#{bin}/ncdc", "-v"
|
2013-02-22 23:13:50 +00:00
|
|
|
end
|
|
|
|
end
|