vcdimager: add test
Closes Homebrew/homebrew#39315. Signed-off-by: Tim D. Smith <git@tim-smith.us>
This commit is contained in:
parent
182c5b292b
commit
e040ed9fe3
1 changed files with 12 additions and 10 deletions
|
@ -1,20 +1,22 @@
|
|||
require 'formula'
|
||||
|
||||
class Vcdimager < Formula
|
||||
homepage 'http://www.gnu.org/software/vcdimager/'
|
||||
url 'http://ftpmirror.gnu.org/vcdimager/vcdimager-0.7.24.tar.gz'
|
||||
mirror 'http://ftp.gnu.org/gnu/vcdimager/vcdimager-0.7.24.tar.gz'
|
||||
sha1 '8c245555c3e21dcbc3d4dbb2ecca74f609545424'
|
||||
homepage "https://www.gnu.org/software/vcdimager/"
|
||||
url "http://ftpmirror.gnu.org/vcdimager/vcdimager-0.7.24.tar.gz"
|
||||
mirror "https://ftp.gnu.org/gnu/vcdimager/vcdimager-0.7.24.tar.gz"
|
||||
sha256 "075d7a67353ff3004745da781435698b6bc4a053838d0d4a3ce0516d7d974694"
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'libcdio'
|
||||
depends_on 'popt'
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "libcdio"
|
||||
depends_on "popt"
|
||||
|
||||
def install
|
||||
ENV.libxml2
|
||||
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}", "--mandir=#{man}"
|
||||
system "make install"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"vcdimager", "--help"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue