2018-04-05 10:44:45 +02:00
|
|
|
VERSION="1.1.0h"
|
2018-01-22 13:03:48 +01:00
|
|
|
SRCDIR="openssl-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
|
|
URL="https://www.openssl.org/source"
|
2018-04-05 10:44:45 +02:00
|
|
|
SHA256SUM="5835626cde9e99656585fc7aaa2302a73a7e1340bf8c14fd635a62c66802a517"
|
2018-01-24 12:52:41 +01:00
|
|
|
DEPENDS="zlib"
|
2018-01-22 13:03:48 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-02-16 23:22:04 +01:00
|
|
|
$1/Configure --prefix=/ --cross-compile-prefix="${TARGET}-" \
|
|
|
|
--openssldir=/etc/ssl --libdir=/lib \
|
|
|
|
-DOPENSSL_NO_HEARTBEATS \
|
|
|
|
threads shared zlib-dynamic no-async $OPENSSL_TARGET
|
2018-01-22 13:03:48 +01:00
|
|
|
|
|
|
|
make -j 1
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
|
|
|
local SOURCE="$1"
|
2018-02-16 23:22:04 +01:00
|
|
|
local DEPLOY="$2"
|
|
|
|
local DEVDEPLOY="$3"
|
2018-01-22 13:03:48 +01:00
|
|
|
|
|
|
|
make DESTDIR="$DEPLOY" install
|
|
|
|
|
|
|
|
rm "$DEPLOY/bin/c_rehash"
|
2018-02-19 12:43:22 +01:00
|
|
|
rm -r "$DEPLOY/etc/ssl/misc" "$DEPLOY/share"
|
2018-02-10 01:57:53 +01:00
|
|
|
|
|
|
|
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
2018-02-17 14:47:42 +01:00
|
|
|
strip_files ${DEPLOY}/bin/* ${DEPLOY}/lib/*.so*
|
2018-01-22 13:03:48 +01:00
|
|
|
}
|