summaryrefslogtreecommitdiff
path: root/data/_openssl1.0/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/_openssl1.0/make.sh')
-rw-r--r--data/_openssl1.0/make.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/_openssl1.0/make.sh b/data/_openssl1.0/make.sh
new file mode 100644
index 000000000..d83b0e547
--- /dev/null
+++ b/data/_openssl1.0/make.sh
@@ -0,0 +1,11 @@
+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