cern-ndiff 5.04.01
Closes #32578. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
99852ae117
commit
372dcece33
1 changed files with 7 additions and 4 deletions
|
@ -2,8 +2,9 @@ class CernNdiff < Formula
|
||||||
desc "Numerical diff tool"
|
desc "Numerical diff tool"
|
||||||
# Note: ndiff is a sub-project of Mad-X at the moment..
|
# Note: ndiff is a sub-project of Mad-X at the moment..
|
||||||
homepage "https://mad.web.cern.ch/mad/"
|
homepage "https://mad.web.cern.ch/mad/"
|
||||||
url "http://svn.cern.ch/guest/madx/tags/5.02.11/madX/tools/numdiff"
|
url "https://github.com/MethodicalAcceleratorDesign/MAD-X/archive/5.04.01.tar.gz"
|
||||||
head "http://svn.cern.ch/guest/madx/trunk/madX/tools/numdiff"
|
sha256 "94e14060d4b5c6bebaa7446f0134d6eccb20423d4a27df39082004dd29288310"
|
||||||
|
head "https://github.com/MethodicalAcceleratorDesign/MAD-X.git"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
cellar :any_skip_relocation
|
cellar :any_skip_relocation
|
||||||
|
@ -17,8 +18,10 @@ class CernNdiff < Formula
|
||||||
depends_on "cmake" => :build
|
depends_on "cmake" => :build
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "cmake", ".", *std_cmake_args
|
cd "tools/numdiff" do
|
||||||
system "make", "install"
|
system "cmake", ".", *std_cmake_args
|
||||||
|
system "make", "install"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
|
|
Loading…
Reference in a new issue