42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
+
+
+
|
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
echo "Running: ./configure --prefix=\"${INSTDIR}\""
./configure --prefix="${INSTDIR}"
echo "Running: ${MAKE:-make} AR=\"${AR}\""
${MAKE:-make} AR="${AR}" || exit 1
echo "Running: ${MAKE:-make} install AR=\"${AR}\""
${MAKE:-make} install AR="${AR}"
# We don't really care too much about failure in zlib
exit 0
) || exit 1
exit 0
|