mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
New Formula: dwatch
Closes #11975. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
1 parent
7b70808118
commit
58189c8734
1 file changed
+19
@@ -0,0 +1,19 @@
|
||||
require 'formula'
|
||||
|
||||
class Dwatch < Formula
|
||||
homepage 'http://siag.nu/dwatch/'
|
||||
url 'http://siag.nu/pub/dwatch/dwatch-0.1.1.tar.gz'
|
||||
md5 '25c06240cb5ab8126badc8a78dcd2b79'
|
||||
|
||||
def install
|
||||
bin.mkpath # Makefile uses cp, not install
|
||||
man1.mkpath # ditto
|
||||
|
||||
system "make install CC=#{ENV.cc} PREFIX=#{prefix} MANDIR=#{man} ETCDIR=#{etc}"
|
||||
etc.install "dwatch.conf"
|
||||
end
|
||||
|
||||
def test
|
||||
system "dwatch -h" # not that it HAS -h. bitches, but exits 0
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user