blob: 1d16e74435bbd1774311741ddae9e57acc0f4877 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
  |