[Lunar-commits] <moonbase> eigen3, eigen2: Renaming eigen to eigen3 and adding a eigen2 module.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Wed Sep 7 17:16:09 CEST 2011
commit e71c1ede47cef456e953db9a610b65329ada8491
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Wed Sep 7 11:16:09 2011 -0400
eigen3, eigen2: Renaming eigen to eigen3 and adding a eigen2 module.
Some kde stuff will barg because it looks for eigen2 stuff which does not exist
since the eigen version bump to 3.x. Did not fell like hacking CMakeLists.txt files
to shoehorn the eigen3 crap into it, so eigen2 was eaiser.
These two modules can live side by side;
/usr/include/eigen2
/usr/include/eigen3
eigen3.pc
eigen2.pc
---
libs/eigen2/BUILD | 16 ++++++++++++++++
libs/eigen2/DEPENDS | 1 +
libs/eigen2/DETAILS | 26 ++++++++++++++++++++++++++
libs/eigen3/BUILD | 16 ++++++++++++++++
libs/eigen3/DEPENDS | 1 +
libs/eigen3/DETAILS | 26 ++++++++++++++++++++++++++
6 files changed, 86 insertions(+), 0 deletions(-)
diff --git a/libs/eigen2/BUILD b/libs/eigen2/BUILD
new file mode 100644
index 0000000..8413e7e
--- /dev/null
+++ b/libs/eigen2/BUILD
@@ -0,0 +1,16 @@
+(
+
+ OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
+
+ sedit "s:share/pkgconfig:/usr/lib/pkgconfig:g" CMakeLists.txt &&
+
+ mkdir $OOSB_DIR &&
+ cd $OOSB_DIR &&
+
+ cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
+ -DCMAKE_BUILD_TYPE=RELEASE \
+ $OPTS &&
+
+ default_make
+
+) > $C_FIFO 2>&1
diff --git a/libs/eigen2/DEPENDS b/libs/eigen2/DEPENDS
new file mode 100644
index 0000000..60dd614
--- /dev/null
+++ b/libs/eigen2/DEPENDS
@@ -0,0 +1 @@
+depends cmake
diff --git a/libs/eigen2/DETAILS b/libs/eigen2/DETAILS
new file mode 100644
index 0000000..1589181
--- /dev/null
+++ b/libs/eigen2/DETAILS
@@ -0,0 +1,26 @@
+ MODULE=eigen2
+ VERSION=2.0.16
+ SOURCE=$VERSION.tar.bz2
+ SOURCE_URL=http://bitbucket.org/eigen/eigen/get/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/eigen-eigen-$VERSION
+ SOURCE_VFY=sha1:d0fad8b182280c378f413d1908ad611c921f40c2
+ WEB_SITE=http://eigen.tuxfamily.org
+ ENTERED=20110907
+ UPDATED=20110907
+ SHORT="linear algebra libraries for simple mathematical needs"
+
+cat << EOF
+Unlike most other linear algebra libraries, Eigen focuses on the simple
+mathematical needs of applications: games and other OpenGL apps, spreadsheets
+and other office apps, etc. Eigen is dedicated to providing optimal speed with
+GCC.
+ * Its fixed-size classes are specially optimized for small sizes up to 4,
+ although it is theoretically possible to specialize them to any size.
+ They never cause dynamic memory applications and the simple operations on
+ them are as fast as is possible at least for sizes up to 4 (see below).
+
+ * Its dynamic-size classes are more flexible and suitable for larger sizes.
+
+Both fixed-size and dynamic-size classes use the same underlying C++ code,
+thanks to a curiously recurring template pattern.
+EOF
diff --git a/libs/eigen3/BUILD b/libs/eigen3/BUILD
new file mode 100644
index 0000000..8413e7e
--- /dev/null
+++ b/libs/eigen3/BUILD
@@ -0,0 +1,16 @@
+(
+
+ OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
+
+ sedit "s:share/pkgconfig:/usr/lib/pkgconfig:g" CMakeLists.txt &&
+
+ mkdir $OOSB_DIR &&
+ cd $OOSB_DIR &&
+
+ cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
+ -DCMAKE_BUILD_TYPE=RELEASE \
+ $OPTS &&
+
+ default_make
+
+) > $C_FIFO 2>&1
diff --git a/libs/eigen3/DEPENDS b/libs/eigen3/DEPENDS
new file mode 100644
index 0000000..60dd614
--- /dev/null
+++ b/libs/eigen3/DEPENDS
@@ -0,0 +1 @@
+depends cmake
diff --git a/libs/eigen3/DETAILS b/libs/eigen3/DETAILS
new file mode 100644
index 0000000..86b1422
--- /dev/null
+++ b/libs/eigen3/DETAILS
@@ -0,0 +1,26 @@
+ MODULE=eigen3
+ VERSION=3.0.2
+ SOURCE=$VERSION.tar.bz2
+ SOURCE_URL=http://bitbucket.org/eigen/eigen/get
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/eigen-eigen-$VERSION
+ SOURCE_VFY=sha1:2bcc7a6b415f5c75b5e061a399c3f9ab9aadb708
+ WEB_SITE=http://eigen.tuxfamily.org
+ ENTERED=20110907
+ UPDATED=20110907
+ SHORT="linear algebra libraries for simple mathematical needs"
+
+cat << EOF
+Unlike most other linear algebra libraries, Eigen focuses on the simple
+mathematical needs of applications: games and other OpenGL apps, spreadsheets
+and other office apps, etc. Eigen is dedicated to providing optimal speed with
+GCC.
+ * Its fixed-size classes are specially optimized for small sizes up to 4,
+ although it is theoretically possible to specialize them to any size.
+ They never cause dynamic memory applications and the simple operations on
+ them are as fast as is possible at least for sizes up to 4 (see below).
+
+ * Its dynamic-size classes are more flexible and suitable for larger sizes.
+
+Both fixed-size and dynamic-size classes use the same underlying C++ code,
+thanks to a curiously recurring template pattern.
+EOF
More information about the Lunar-commits
mailing list