25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
(
rm -rf libressl-*
gzip -dc "${pkgdir}/${archive}" | tar -xf - || exit 1
cd "libressl-${version}" || exit 1
echo "Running: ./configure ${CONFIGUREEXTRA} --disable-shared --enable-static --prefix=\"$(pwd)/INST\""
./configure ${CONFIGUREEXTRA} --disable-shared --enable-static --prefix="$(pwd)/INST" || exit 1
echo "Running: ${MAKE:-make} V=1"
${MAKE:-make} V=1 || exit 1
echo "Running: ${MAKE:-make} V=1 install"
${MAKE:-make} V=1 install || exit 1
) || return 1
SSLDIR="$(pwd)/libressl-${version}/INST"
addlibs_LOCALSSL="$(PKG_CONFIG_PATH="${SSLDIR}/lib/pkgconfig" "${PKG_CONFIG:-pkg-config}" libssl libcrypto --libs --static)"
}
|
<
>
>
>
>
>
>
>
|
<
|
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
(
rm -rf libressl-*
gzip -dc "${pkgdir}/${archive}" | tar -xf - || exit 1
cd "libressl-${version}" || exit 1
./configure ${CONFIGUREEXTRA} --disable-shared --enable-static --prefix="$(pwd)/INST" || exit 1
# Disable building the apps -- they do not get used
rm -rf apps
mkdir apps
cat << \_EOF_ > apps/Makefile
%:
@echo Nothing to do
_EOF_
${MAKE:-make} V=1 || exit 1
${MAKE:-make} V=1 install || exit 1
) || return 1
SSLDIR="$(pwd)/libressl-${version}/INST"
addlibs_LOCALSSL="$(PKG_CONFIG_PATH="${SSLDIR}/lib/pkgconfig" "${PKG_CONFIG:-pkg-config}" libssl libcrypto --libs --static)"
}
|