Skip to content

Instantly share code, notes, and snippets.

@m4ce
Last active January 21, 2020 10:49
Show Gist options
  • Save m4ce/f71af88e1fbc4dfa595c58fda7079f8d to your computer and use it in GitHub Desktop.
Save m4ce/f71af88e1fbc4dfa595c58fda7079f8d to your computer and use it in GitHub Desktop.
require 'formula'
class XtensorInterpolate < Formula
desc "Spline interpolation with FITPACK for xtensor"
homepage "https://github.com/rjsberry/xtensor-interpolate"
url "https://github.com/rjsberry/xtensor-interpolate/archive/d2a7c2d7042b3e0d0290944f2919a821d7defd3d.tar.gz"
version "d2a7c2d7042b3e0d0290944f2919a821d7defd3d"
revision 6
depends_on "cmake" => :build
depends_on "xtensor" => :build
def install
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make", "install"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment