This repository has been archived by the owner. It is now read-only.

New formula gsmartcontrol #17279

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
4 participants
Contributor

larstobi commented Jan 24, 2013

GSmartControl - Hard disk drive health inspection tool
http://gsmartcontrol.berlios.de/

GSmartControl is a graphical user interface for smartctl (from smartmontools package), which is a tool for querying and controlling SMART (Self-Monitoring, Analysis, and Reporting Technology) data on modern hard disk drives. It allows you to inspect the drive's SMART data to determine its health, as well as run various tests on it.

@MikeMcQuaid MikeMcQuaid commented on the diff Feb 1, 2013

Library/Formula/gsmartcontrol.rb
+
+ depends_on :x11
+ depends_on 'smartmontools'
+ depends_on 'gtkmm'
+ depends_on 'pcre'
+ depends_on 'libglademm'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+
+ def test
+ system "gsmartcontrol"
@MikeMcQuaid

MikeMcQuaid Feb 1, 2013

Owner

Is this a daemon? Does this test work?

@larstobi

larstobi Feb 1, 2013

Contributor

Not a daemon, it's a GUI application. The "test" passes on my install, which I guess means the binary is compiled, linked and runs.

@MikeMcQuaid

MikeMcQuaid Feb 20, 2013

Owner

Is the test blocking (i.e. does it terminate itself)? Thanks!

@larstobi

larstobi Feb 20, 2013

Contributor

Yes, unfortunately it is blocking. I could run it with "gsmartcontrol --version" instead, and then it wouldn't be blocking. Is that preferable?

@MikeMcQuaid

MikeMcQuaid Feb 20, 2013

Owner

Yes, needs to be non-blocking unfortunately.

+1 vote!

@adamv adamv closed this in 18fd4f1 Mar 12, 2013

@nesv nesv added a commit to nesv/homebrew that referenced this pull request Apr 12, 2013

@larstobi @nesv larstobi + nesv gsmartcontrol 0.8.7
Closes #17279.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
264b07e

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.