db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# Licensed to the Apache Software Foundation (ASF) under one or more
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# contributor license agreements. See the NOTICE file distributed with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# this work for additional information regarding copyright ownership.
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# The ASF licenses this file to You under the Apache License, Version 2.0
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# (the "License"); you may not use this file except in compliance with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# the License. You may obtain a copy of the License at
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin# Unless required by applicable law or agreed to in writing, software
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin# distributed under the License is distributed on an "AS IS" BASIS,
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin# See the License for the specific language governing permissions and
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin# limitations under the License.
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin# buildpkg.sh: This script builds a Solaris PKG from the source tree
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin # Normalize
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
7f0324120039aae80561410da14aa9086c65b601minfrinif [ ! -f "$apr_config" -a ! -f "$apr_config/configure.in" ]; then
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin echo "The apr source directory / apr-1-config could not be found"
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin echo "Usage: buildpkg [--with-apr=[dir|file]] [--with-apr-util=[dir|file]]"
7f0324120039aae80561410da14aa9086c65b601minfrinif [ ! -f "$apu_config" -a ! -f "$apu_config/configure.in" ]; then
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin echo "The apu source directory / apu-1-config could not be found"
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin echo "Usage: buildpkg [--with-apr=[dir|file]] [--with-apr-util=[dir|file]]"
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrin --enable-cache --enable-disk-cache --enable-mem-cache \
22dda44322067379eeba28d7ec7fc833cb04c0dfminfrinfind . -print | grep -v ./prototype | grep -v ./pkginfo | pkgproto | awk '{print $1" "$2" "$3" "$4" root bin"}' >> prototype