add a kinda config file for Makefile.PL
authorMarc Chantreux <marc.chantreux@biblibre.com>
Thu, 12 Jun 2008 23:28:31 +0000 (01:28 +0200)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 16 Jun 2008 16:27:21 +0000 (11:27 -0500)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
install_misc/environment_Makefile.PL [new file with mode: 0644]

diff --git a/install_misc/environment_Makefile.PL b/install_misc/environment_Makefile.PL
new file mode 100644 (file)
index 0000000..b897906
--- /dev/null
@@ -0,0 +1,65 @@
+# this file provides environment variables to use perl Makefile.PL 
+# without interactive mode. it can be seen as config file.
+
+# usage from shell:
+# source environment_Makefile.PL &&
+#     perl Makefile.PL &&
+#     make install
+
+# TODO: add explainations from the installer ? 
+
+export PERL_MM_USE_DEFAULT=1
+export KOHA_USER='koha'
+export KOHA_GROUP='koha'
+
+# default root to install config files
+#export INSTALL_BASE=/etc/koha
+
+# from now, commented export directives are alternatives
+# uncomment one of them to choose it
+
+#export INSTALL_MODE=dev
+#export INSTALL_MODE=single
+export INSTALL_MODE=standard
+
+export INSTALL_SRU=no
+#export INSTALL_SRU=yes
+
+export INSTALL_ZEBRA=yes
+#export INSTALL_ZEBRA=no
+
+export INSTALL_PAZPAR2=no
+#export INSTALL_PAZPAR2=yes
+
+export RUN_DATABASE_TESTS=no
+#export RUN_DATABASE_TESTS=yes
+
+export PATH_TO_ZEBRA=''
+
+export DB_TYPE=mysql
+#export DB_TYPE=Pg
+
+export DB_HOST='localhost'
+export DB_NAME='koha'
+export DB_USER='kohaadmin'
+export DB_PASS='katikoan'
+
+export AUTH_INDEX_MODE=grs1
+#export AUTH_INDEX_MODE=dom
+
+#export ZEBRA_MARC_FORMAT=unimarc
+export ZEBRA_MARC_FORMAT=marc21
+
+#export ZEBRA_LANGUAGE=fr
+export ZEBRA_LANGUAGE=en
+
+export ZEBRA_USER='kohauser'
+export ZEBRA_PASS='zebrastripes'
+export ZEBRA_SRU_HOST='localhost'
+export ZEBRA_SRU_BIBLIOS_PORT='9998'
+export ZEBRA_SRU_AUTHORITIES_PORT='9999'
+
+export MERGE_SERVER_HOST='localhost'
+export MERGE_SERVER_PORT='11001'
+export PAZPAR2_HOST='localhost'
+export PAZPAR2_PORT='11002'