pazpar2 1.12.5
This commit is contained in:
parent
2590be097e
commit
dacab6311c
1 changed files with 2 additions and 16 deletions
|
@ -1,8 +1,8 @@
|
|||
class Pazpar2 < Formula
|
||||
desc "Metasearching middleware webservice"
|
||||
homepage "https://www.indexdata.com/pazpar2"
|
||||
url "http://ftp.indexdata.dk/pub/pazpar2/pazpar2-1.12.4.tar.gz"
|
||||
sha256 "e8a14138a564ec4aad79ff4ce063088356f7015796c757a0911e3b13c60180b5"
|
||||
url "http://ftp.indexdata.dk/pub/pazpar2/pazpar2-1.12.5.tar.gz"
|
||||
sha256 "a526ac9a91f6ac4683af3e27d58adb70755d82da7ad909eb98edf68dd07062d3"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -20,18 +20,4 @@ class Pazpar2 < Formula
|
|||
"--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"test-config.xml").write <<-EOS.undent
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
|
||||
<threads number="2"/>
|
||||
<server>
|
||||
<listen port="8004"/>
|
||||
</server>
|
||||
</pazpar2>
|
||||
EOS
|
||||
|
||||
system "#{sbin}/pazpar2", "-t", "-f", "#{testpath}/test-config.xml"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue