aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDave Crossland2013-09-19 00:14:28 +0200
committerAdam Vandenberg2013-10-28 19:51:13 -0700
commitd0b2b2ea64f53d45b303dd8394653d37e14da283 (patch)
treee78a065ad10022f447791c9aa2e01198edae7893 /Library
parentdab3fbfc0dea14278e669bfe2ba87b34d1a21f0d (diff)
downloadhomebrew-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.rb21
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