summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/openssl/make.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/openssl/make.sh b/data/openssl/make.sh
index 927406d2a..058691f74 100644
--- a/data/openssl/make.sh
+++ b/data/openssl/make.sh
@@ -1,10 +1,10 @@
-tar -zxvf "${PKG_DATA}/openssl-0.9.8g.tar.gz"
-cd openssl-0.9.8g
+pkg:extract
+cd *
pkg:patch
./Configure darwin-arm-gcc --prefix=/usr --openssldir=/usr/lib/ssl shared
make AR='arm-apple-darwin-ar -r'
make install INSTALL_PREFIX="${PKG_DEST}"
-rm -rf "${PKG_DEST}"/usr/lib/man
-mkdir -p "${PKG_DEST}"/etc/ssl
+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