summaryrefslogtreecommitdiff
path: root/data/openssl/make.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-12-09 23:13:12 -1000
committerSam Bingner <sam@bingner.com>2018-12-12 12:11:00 -1000
commit2b70d3009982ef83a7866187b9d56d4c7772be75 (patch)
tree88d2f595a04d99b3e2b144b8c94ffdf2ea994216 /data/openssl/make.sh
parent0730a263702e6d7827d5c8f99b86b74b4b6bc86e (diff)
Update and split openssl into multiple packages and update curl
Add openssl 0.9.8
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