quotatool: basic test added
Closes Homebrew/homebrew#37960. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
4ee4dd858f
commit
79d02d2241
1 changed files with 8 additions and 6 deletions
|
@ -1,14 +1,16 @@
|
|||
require 'formula'
|
||||
|
||||
class Quotatool < Formula
|
||||
homepage 'http://quotatool.ekenberg.se'
|
||||
url 'http://quotatool.ekenberg.se/quotatool-1.6.2.tar.gz'
|
||||
sha1 '632f8f470530928c57912eb95dfa540c55599c18'
|
||||
homepage "http://quotatool.ekenberg.se"
|
||||
url "http://quotatool.ekenberg.se/quotatool-1.6.2.tar.gz"
|
||||
sha256 "e53adc480d54ae873d160dc0e88d78095f95d9131e528749fd982245513ea090"
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
sbin.mkpath
|
||||
man8.mkpath
|
||||
system "make install"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{sbin}/quotatool", "-V"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue