mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 11:20:03 +00:00
b4cf10fc94
This reverts commit be5f4ef6b19c82f6c898708cc8e1828b05e3d4e8, reversing
changes made to 638fe6971c
.
26 lines
533 B
Bash
Executable File
26 lines
533 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# This file is part of the phpseclib project.
|
|
#
|
|
# (c) Andreas Fischer <bantu@phpbb.com>
|
|
#
|
|
# For the full copyright and license information, please view the LICENSE
|
|
# file that was distributed with this source code.
|
|
#
|
|
set -e
|
|
|
|
function install_php_extension
|
|
{
|
|
cd "$1"
|
|
phpize
|
|
./configure
|
|
make
|
|
make install
|
|
cd ..
|
|
echo "extension=$1.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
|
|
}
|
|
|
|
# runkit
|
|
git clone https://github.com/zenovich/runkit.git
|
|
install_php_extension 'runkit'
|