-
Notifications
You must be signed in to change notification settings - Fork 10
/
tasks.rb
33 lines (28 loc) · 841 Bytes
/
tasks.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
class Tasks < Formula
desc "Tasks is library for real time control of robots and kinematic trees using constrained optimization."
homepage "https://github.com/jrl-umi3218/Tasks"
url "https://github.com/jrl-umi3218/Tasks.git", :branch => "master"
head "https://github.com/jrl-umi3218/Tasks.git"
version "0.1"
depends_on "cmake" => :build
depends_on "eigen"
depends_on "boost"
depends_on "spacevecalg"
depends_on "rbdyn"
depends_on "sch-core"
depends_on "eigen-qld"
depends_on "eigen3topython" => :recommended
def install
cmake_args = std_cmake_args + %W[
-DBoost_DIR=#{Formula["boost"].opt_prefix}
]
mkdir "build" do
system "cmake", "-G", "Unix Makefiles", "..", *cmake_args
system "make"
system "make", "install"
end
end
test do
system "false"
end
end