Differences From Artifact [72ab3f6699]:
- Executable file
zlib/build.sh
— part of check-in
[e95acf08f0]
at
2010-09-26 04:40:48
on branch trunk
— Added zlib package
Added support for specifying --with-zlib to kitsh if zlib built fine (user: rkeene, size: 1121) [annotate] [blame] [check-ins using]
To Artifact [d2bfb61304]:
- Executable file zlib/build.sh — part of check-in [6548a534b1] at 2010-09-26 04:41:16 on branch trunk — Fixed to support calling AR with options (user: rkeene, size: 1213) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
36 37 38 39 40 41 42 43 44 45 46 |
if [ ! -d '../buildsrc' ]; then
gzip -dc "../${SRC}" | tar -xf -
else
cp -rp ../buildsrc/* './'
fi
cd "${BUILDDIR}" || exit 1
# We don't pass CONFIGUREEXTRA here, since this isn't a GNU autoconf
# script and will puke
./configure --prefix="${INSTDIR}"
| > > > > | | | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
if [ ! -d '../buildsrc' ]; then
gzip -dc "../${SRC}" | tar -xf -
else
cp -rp ../buildsrc/* './'
fi
cd "${BUILDDIR}" || exit 1
# ZLIB Expects AR to contain options
AR="${AR:-ar} rcu"
export AR
# We don't pass CONFIGUREEXTRA here, since this isn't a GNU autoconf
# script and will puke
./configure --prefix="${INSTDIR}"
${MAKE:-make} AR="${AR}" || exit 1
${MAKE:-make} install AR="${AR}"
# We don't really care too much about failure in zlib
exit 0
) || exit 1
exit 0
|