2010-04-16 11:46:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libgtop < Formula
|
2010-04-16 11:46:05 +00:00
|
|
|
homepage 'http://library.gnome.org/devel/libgtop/stable/'
|
2014-04-03 14:25:42 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/gnome/sources/libgtop/2.28/libgtop-2.28.5.tar.xz'
|
2013-12-01 00:51:58 +00:00
|
|
|
sha1 '7104a7546252e3fb26d162e9b34e1f7df42236d1'
|
2010-04-16 11:46:05 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2013-02-03 20:40:09 +00:00
|
|
|
depends_on 'intltool' => :build
|
2010-04-16 11:46:05 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'glib'
|
|
|
|
|
|
|
|
def install
|
2012-03-17 23:15:40 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2012-09-22 04:35:31 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--without-x"
|
2010-04-16 11:46:05 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|