SRC_FETCH_PATH="http://www.openssl.org/source/openssl-1.0.1c.tar.gz" SRC_FETCH_METHOD="http" function do_config { # To find these options, try "./Configure TABLE" and "./Configure LIST". if [ "$FLXARCH" == "x86_64" ]; then sys=linux-x86_64 else sys=linux-elf fi ./Configure --prefix=/usr --openssldir=/usr/share/openssl threads shared $sys } function do_compile_only { $FLXMAKE CC="$CC" AR="$AR r" RANLIB="$RANLIB" $FLXMAKE build-shared CC="$CC" AR="$AR r" RANLIB="$RANLIB" $FLXMAKE -C apps DLIBCRYPTO=../libcrypto.so CC="$CC" AR="$AR r" RANLIB="$RANLIB" } function do_prepack { make install LIBDIR=/lib INSTALL_PREFIX=$ROOTDIR set_default_perm $ROOTDIR }