1
# Licensed to the Apache Software Foundation (ASF) under one
2
# or more contributor license agreements. See the NOTICE file
3
# distributed with this work for additional information
4
# regarding copyright ownership. The ASF licenses this file
5
# to you under the Apache License, Version 2.0 (the
6
# "License"); you may not use this file except in compliance
7
# with the License. You may obtain a copy of the License at
9
# http://www.apache.org/licenses/LICENSE-2.0
11
# Unless required by applicable law or agreed to in writing,
12
# software distributed under the License is distributed on an
13
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
# KIND, either express or implied. See the License for the
15
# specific language governing permissions and limitations
18
## This script calls a helper that provides the folloing environemnt
21
## PATH The search path
22
## SVNBB_OPENSSL OpenSSL installation prefix
23
## SVNBB_BDB Berkeley DB installation prefix
24
## SVNBB_SWIG Swig installation prefix
25
## SVNBB_SERF Serf installation prefix
26
## Note: Serf should be built only
27
## with the system APR/-Util.
28
## SVNBB_APR_13_NOTHREAD Path of APR-1.3 with threading disabled
29
## SVNBB_APR_15 Path of APR-1.5
30
## SVNBB_APR_20_DEV Path of APR-2.0
31
## SVNBB_JUNIT The path of the junit.jar
32
## SVNBB_PARALLEL Optional: parallelization; defaults to 2
33
## LIBTOOL_CONFIG Optional: libtool configuration path
35
## The invoking script will set local variable named ${scripts} that
36
## is the absolute path the parent of this file.
38
# Modify this to suit your deployment
39
environment=$(cd "${scripts}/.." && pwd)/environment.sh
41
eval $(${environment})
42
SVNBB_PARALLEL="${SVNBB_PARALLEL-2}"
48
export SVNBB_APR_13_NOTHREAD
50
export SVNBB_APR_20_DEV
56
# Set the absolute source path
59
# Set the path to the RAMdisk device name file
60
ramconf=$(dirname "${abssrc}")/ramdisk.conf
62
# The RAMdisk volume name is the same as the name of the builder
63
volume_name=$(basename $(dirname "${abssrc}"))
64
if [ -z "${volume_name}" ]; then
65
echo "Missing config parameter: RAMdisk volume name"
69
# Set the absolute build path
70
absbld="/Volumes/${volume_name}"