summaryrefslogtreecommitdiff
path: root/homebrew/eigen
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/eigen')
-rw-r--r--homebrew/eigen/.beer25
-rw-r--r--homebrew/eigen/.make.sh-auto6
-rw-r--r--homebrew/eigen/_metadata/description1
-rw-r--r--homebrew/eigen/_metadata/homepage1
-rw-r--r--homebrew/eigen/_metadata/name1
-rw-r--r--homebrew/eigen/_metadata/version1
-rwxr-xr-xhomebrew/eigen/download.sh1
7 files changed, 36 insertions, 0 deletions
diff --git a/homebrew/eigen/.beer b/homebrew/eigen/.beer
new file mode 100644
index 000000000..4037bd755
--- /dev/null
+++ b/homebrew/eigen/.beer
@@ -0,0 +1,25 @@
+{
+ "name": "Eigen",
+ "description": "C++ template library for linear algebra",
+ "url": "https://bitbucket.org/eigen/eigen/get/3.3.7.tar.bz2",
+ "mirror": null,
+ "homepage": "https://eigen.tuxfamily.org/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "mkdir \"eigen-build\" do",
+ "args = std_cmake_args",
+ "args << \"-Dpkg_config_libdir=#{lib}\" << \"..\"",
+ "system \"cmake\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "3.3.7",
+ "file": "eigen.rb"
+} \ No newline at end of file
diff --git a/homebrew/eigen/.make.sh-auto b/homebrew/eigen/.make.sh-auto
new file mode 100644
index 000000000..ce267deba
--- /dev/null
+++ b/homebrew/eigen/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+mkdir "eigen-build" && cd eigen-build
+args = std_cmake_args
+args << "-Dpkg_config_libdir=#{lib}" << ".."
+cmake *args
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/eigen/_metadata/description b/homebrew/eigen/_metadata/description
new file mode 100644
index 000000000..e815f2048
--- /dev/null
+++ b/homebrew/eigen/_metadata/description
@@ -0,0 +1 @@
+C++ template library for linear algebra
diff --git a/homebrew/eigen/_metadata/homepage b/homebrew/eigen/_metadata/homepage
new file mode 100644
index 000000000..c02527b94
--- /dev/null
+++ b/homebrew/eigen/_metadata/homepage
@@ -0,0 +1 @@
+https://eigen.tuxfamily.org/
diff --git a/homebrew/eigen/_metadata/name b/homebrew/eigen/_metadata/name
new file mode 100644
index 000000000..06ca4590e
--- /dev/null
+++ b/homebrew/eigen/_metadata/name
@@ -0,0 +1 @@
+Eigen
diff --git a/homebrew/eigen/_metadata/version b/homebrew/eigen/_metadata/version
new file mode 100644
index 000000000..86fb65044
--- /dev/null
+++ b/homebrew/eigen/_metadata/version
@@ -0,0 +1 @@
+3.3.7
diff --git a/homebrew/eigen/download.sh b/homebrew/eigen/download.sh
new file mode 100755
index 000000000..f46034bfa
--- /dev/null
+++ b/homebrew/eigen/download.sh
@@ -0,0 +1 @@
+wget https://bitbucket.org/eigen/eigen/get/3.3.7.tar.bz2 \ No newline at end of file