summaryrefslogtreecommitdiffstats
path: root/ruby-raa/ruby-enterprise-edition/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'ruby-raa/ruby-enterprise-edition/BUILD')
-rwxr-xr-xruby-raa/ruby-enterprise-edition/BUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/ruby-raa/ruby-enterprise-edition/BUILD b/ruby-raa/ruby-enterprise-edition/BUILD
new file mode 100755
index 0000000000..38adaf3eb9
--- /dev/null
+++ b/ruby-raa/ruby-enterprise-edition/BUILD
@@ -0,0 +1,12 @@
+cd $SOURCE_DIRECTORY/source &&
+
+if [[ "$REE_TC" == "y" ]]; then
+ TCMALLOC="-ltcmalloc_minimal"
+fi &&
+if [[ "$REE_DOC" == "y" ]]; then
+ OPTS="$OPTS --enable-install-doc"
+fi &&
+OPTS="$OPTS $REE_OPTS --enable-mbari-api" &&
+./configure --prefix=${INSTALL_ROOT}/usr $OPTS CFLAGS="$CFLAGS" &&
+sedit "s/LIBS =/LIBS= \$(PRELIBS) /" Makefile &&
+make PRELIBS="-Wl,-rpath,${INSTALL_ROOT}/usr/lib -L${INSTALL_ROOT}/usr/lib $TCMALLOC"