diff options
| author | Dave Crossland | 2013-09-19 00:14:28 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-10-28 19:51:13 -0700 |
| commit | d0b2b2ea64f53d45b303dd8394653d37e14da283 (patch) | |
| tree | e78a065ad10022f447791c9aa2e01198edae7893 /Library | |
| parent | dab3fbfc0dea14278e669bfe2ba87b34d1a21f0d (diff) | |
| download | homebrew-d0b2b2ea64f53d45b303dd8394653d37e14da283.tar.bz2 | |
kernagic 0.2
Closes #22666.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/kernagic.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/kernagic.rb b/Library/Formula/kernagic.rb new file mode 100644 index 000000000..1d16e7443 --- /dev/null +++ b/Library/Formula/kernagic.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Kernagic < Formula + homepage 'https://github.com/hodefoting/kernagic/' + url 'https://github.com/hodefoting/kernagic/archive/v0.2.tar.gz' + sha1 '6099408fc9ebe22936b048364a8fcd7b5b66a1d8' + head 'https://github.com/hodefoting/kernagic.git' + + depends_on :x11 + depends_on 'pkg-config' => :build + depends_on 'gtk+' + + def install + system "make" + system "make", "install", "PREFIX=#{prefix}" + end + + test do + system "#{bin}/kernagic -h" + end +end |
