summaryrefslogtreecommitdiff
path: root/usrinst.sh
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:53:59 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:53:59 -0400
commit03134fa5f6f25d92724ce4c183f9bbe12a9e37dc (patch)
tree847326a4de82f0241ac87cbbc427a1b92a696a02 /usrinst.sh
parentd7469385b05b9510338407fa123e9ad090f80af6 (diff)
Imported Upstream version 1.5.11
Diffstat (limited to 'usrinst.sh')
-rwxr-xr-xusrinst.sh37
1 files changed, 37 insertions, 0 deletions
diff --git a/usrinst.sh b/usrinst.sh
new file mode 100755
index 0000000..7ba12ea
--- /dev/null
+++ b/usrinst.sh
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+OPTIONS="--prefix=/usr $OPTIONS"
+OPTIONS="--disable-shared $OPTIONS"
+OPTIONS="--without-conf $OPTIONS"
+OPTIONS="--sysconfdir=/etc $OPTIONS"
+#OPTIONS="--with-vcl $OPTIONS"
+#OPTIONS="--enable-debug $OPTIONS"
+#OPTIONS="--enable-profile $OPTIONS"
+OPTIONS="--with-icu $OPTIONS"
+#OPTIONS="--without-clucene $OPTIONS"
+#OPTIONS="--without-curl $OPTIONS"
+OPTIONS="--enable-tests $OPTIONS"
+#OPTIONS="--disable-utilities $OPTIONS"
+#OPTIONS="--libdir=/usr/lib64 $OPTIONS"
+
+
+CPPFLAGS="$CFLAGS $CPPFLAGS -DUSBINARY" ./configure $OPTIONS $*
+
+echo ""
+echo ""
+echo ""
+echo "Configured to NOT write a global /etc/sword.conf on 'make install'."
+echo "If this is the first time you've installed sword, be sure to run"
+echo "'make install_config' if you would like a basic configuration installed"
+echo ""
+echo "Next you might try something like: "
+echo ""
+echo "make"
+echo "su"
+echo "make install"
+echo "(and optionally)"
+echo "make install_config"
+echo "make register"
+echo ""
+echo ""
+echo ""