summaryrefslogtreecommitdiff
path: root/data/_openssl1.0/make.sh
blob: d83b0e5473a47c6dbe0e304ad8fdadd53bd84944 (plain)
1
2
3
4
5
6
7
8
9
10
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