import torrus 1.0.9
[freeside.git] / torrus / setup_tools / configure_fhs
diff --git a/torrus/setup_tools/configure_fhs b/torrus/setup_tools/configure_fhs
new file mode 100755 (executable)
index 0000000..69a07b1
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# Configure script for FHC compliant setup (http://www.pathname.com/fhs/)
+# $Id: configure_fhs,v 1.1 2010-12-27 00:04:39 ivan Exp $
+# Stanislav Sinyagin <ssinyagin@yahoo.com>
+
+if test ! -x ./configure; then
+  echo "$0: cannot find ./configure" 2>&1
+  echo "Usage: ./setup_tools/configure_fhs [configure options]..." 2>&1
+  exit 1
+fi
+
+./configure \
+ --prefix=/opt \
+ --mandir=/opt/share/man \
+ pkghome=/opt/torrus \
+ sitedir=/etc/opt/torrus \
+ "$@"
+  
\ No newline at end of file