summaryrefslogtreecommitdiff
path: root/data/openssl/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/openssl/make.sh')
-rw-r--r--data/openssl/make.sh16
1 files changed, 5 insertions, 11 deletions
diff --git a/data/openssl/make.sh b/data/openssl/make.sh
index d83b0e547..cd09794ff 100644
--- a/data/openssl/make.sh
+++ b/data/openssl/make.sh
@@ -1,11 +1,5 @@
-pkg:setup
-echo ./Configure -D__DARWIN_UNIX03 "${PKG_TARG}" --prefix=/usr --openssldir=/usr/lib/ssl shared
-./Configure -D__DARWIN_UNIX03 "${PKG_TARG}" --prefix=/usr --openssldir=/usr/lib/ssl shared
-make AR="${PKG_TARG}-ar -r" -j8
-make install INSTALL_PREFIX="${PKG_DEST}"
-pkg: rm -rf /usr/lib/man /usr/lib/ssl/man
-pkg: mkdir -p /etc/ssl
-mv "${PKG_DEST}"/usr/lib/ssl/{certs,openssl.cnf,private} "${PKG_DEST}"/etc/ssl
-ln -s /etc/ssl/{certs,openssl.cnf,private} "${PKG_DEST}"/usr/lib/ssl
-pkg: ln -s certs/cacert.pem /usr/lib/ssl/cert.pem
-rm -rf "${PKG_DEST}"/usr/lib/*.a
+pkg: mkdir -p /usr/lib
+cp -a "$(PKG_DEST_ _openssl1.0)"/etc "${PKG_DEST}"/
+cp -a "$(PKG_DEST_ _openssl1.0)"/usr/bin "${PKG_DEST}"/usr
+cp -a "$(PKG_DEST_ _openssl1.0)"/usr/include "${PKG_DEST}"/usr
+cp -a "$(PKG_DEST_ _openssl1.0)"/usr/lib/ssl "${PKG_DEST}"/usr/lib