Install ext/crypto from PECL

This commit is contained in:
Dylan K. Taylor 2021-11-07 19:18:09 +00:00
parent 45edb94607
commit b84f7c18ec
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -56,17 +56,7 @@ leveldb=@60763a09bf5c7a10376d16e25b078b99a35c5c37 \
chunkutils2=@0.3.1 \
morton=@0.1.2 \
igbinary=3.2.1 \
crypto=0.3.2 \
" PHP_BUILD_ZTS_ENABLE=on PHP_BUILD_CONFIGURE_OPTS='--with-gmp' ./bin/php-build "$VERSION" "$INSTALL_DIR" || exit 1
rm -rf crypto
git clone --recursive https://github.com/bukka/php-crypto.git crypto
cd crypto
git checkout -qf c8867aa944fa5227eaea9d11a6ce282e64c15af9
git submodule update --init --recursive
"$INSTALL_DIR/bin/phpize"
./configure --with-php-config="$INSTALL_DIR/bin/php-config"
make -j8 install
echo "extension=crypto.so" >> "$INSTALL_DIR/etc/conf.d/crypto.ini"
cd ..
rm "$INSTALL_DIR/etc/conf.d/xdebug.ini" || true