diff options
| author | Sebastian Albers | 2010-04-16 13:46:05 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-12 07:52:25 -0700 |
| commit | 6d189ab2df5bbeb71daac25fe7c25bc04322b7fd (patch) | |
| tree | 238435b631e69eadf331f5eb7cedc5b4d909ac45 | |
| parent | 3654ab13d1c7b7f1f9debb16d44f62344d388556 (diff) | |
| download | homebrew-6d189ab2df5bbeb71daac25fe7c25bc04322b7fd.tar.bz2 | |
libgtop formula added
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/libgtop.rb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Library/Formula/libgtop.rb b/Library/Formula/libgtop.rb new file mode 100644 index 000000000..50aeb2bbc --- /dev/null +++ b/Library/Formula/libgtop.rb @@ -0,0 +1,34 @@ +require 'formula' + +class Libgtop <Formula + url 'ftp://ftp.gnome.org/pub/gnome/sources/libgtop/2.28/libgtop-2.28.1.tar.gz' + homepage 'http://library.gnome.org/devel/libgtop/stable/' + md5 'a035abf8cf7877a9950b6483aa7b96fd' + + depends_on 'pkg-config' + depends_on 'gettext' + depends_on 'glib' + depends_on 'intltool' + + def patches; DATA; end + + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" + system "make install" + end +end + +__END__ +diff --git a/sysdeps/darwin/proclist.c b/sysdeps/darwin/proclist.c +index 8cfb85d..27a1098 100644 +--- a/sysdeps/darwin/proclist.c ++++ b/sysdeps/darwin/proclist.c +@@ -43,7 +43,7 @@ _glibtop_init_proclist_p (glibtop *server) + + pid_t * + glibtop_get_proclist_p (glibtop *server, glibtop_proclist *buf, +- int64_t which, int64_t arg) ++ gint64 which, gint64 arg) + { + unsigned count, total, i; + pid_t *pids_chain; |
