# hdw-linux openssl extensions # author: hackbard # [S] 3-1 # [V] 0.9.7d # [D] openssl-0.9.7d.tar.gz http://www.openssl.org/source/ build_main() { case "$hdw_arch_opt" in i?86) trg=linux-elf ;; *) echo "target not supported" exit 1 ;; esac ./Configure --prefix=$root/usr --openssldir=$root/etc/ssl $trg shared mkdir -p $root/etc/ssl ; rm -rf $root/etc/ssl/{man,lib,include} rm -rf $docdir ; mkdir -p $docdir ; cp -rv doc $docdir ln -svf $root/usr/{lib,include} $root/etc/ssl ln -vfs $prefix/man $docdir/man ln -vfs $docdir/man $root/etc/ssl/man make $make_conf install }