diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/screenresolution.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/screenresolution.rb b/Library/Formula/screenresolution.rb new file mode 100644 index 000000000..24848e69f --- /dev/null +++ b/Library/Formula/screenresolution.rb @@ -0,0 +1,17 @@ +require 'formula' + +class Screenresolution < Formula + homepage 'https://github.com/jhford/screenresolution' + url 'https://github.com/jhford/screenresolution/archive/v1.6.tar.gz' + sha1 '5a4c397711c0cadb3cf58e8eb13dff50b993b388' + head 'https://github.com/jhford/screenresolution.git', :branch => "master" + + def install + system "make" + system "make", "PREFIX=#{prefix}", "install" + end + + test do + system "#{bin}/screenresolution", 'get' + end +end |
