summaryrefslogtreecommitdiff
path: root/data/openssl/make.sh
blob: 482912fcb8faebc4b01a67b9316fdeb789178a32 (plain)
1
2
3
4
5
6
7
8
9
10
pkg:extract
cd *
pkg:patch
./Configure -D__DARWIN_UNIX03 darwin-arm-gcc --prefix=/usr --openssldir=/usr/lib/ssl shared
make AR='arm-apple-darwin-ar -r'
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