Line | |
---|
1 |
|
---|
2 | export IS_MUSIC2_HOME=`pwd`
|
---|
3 |
|
---|
4 | # Install a portable/relocatable Perl:
|
---|
5 |
|
---|
6 | curl -sSL https://git.io/perl-install | bash -s "$IS_MUSIC2_HOME/perl-relocatable"
|
---|
7 |
|
---|
8 |
|
---|
9 |
|
---|
10 | # Configure and install openssl
|
---|
11 |
|
---|
12 | ./config --prefix=$IS_MUSIC2_HOME/openssl
|
---|
13 |
|
---|
14 |
|
---|
15 | # Use cpanm (cpan-minus) to install Perl packages
|
---|
16 |
|
---|
17 |
|
---|
18 | CONFIG_ARGS="INC=\"$CFLAGS\" LDDLFLAGS=\"-shared -L/usr/local/lib -fstack-protector-strong $LDFLAGS\" LDFLAGS=\"-fstack-protector-strong $LDFLAGS\""
|
---|
19 |
|
---|
20 | cpanm Crypt::OpenSSL::Random --configure-args "$CONFIG_ARGS"
|
---|
21 | # --interactive --verbose
|
---|
22 |
|
---|
23 | cpanm Crypt::OpenSSL::RSA --configure-args "$CONFIG_ARGS"
|
---|
24 |
|
---|
25 | cpanm OAuth::Lite --configure-args "$CONFIG_ARGS"
|
---|
26 |
|
---|
27 | cpanm CGI --configure-args "$CONFIG_ARGS"
|
---|
28 |
|
---|
29 | cpanm --notest NET::SSLeay --configure-args "$CONFIG_ARGS"
|
---|
30 |
|
---|
31 | cpanm LWP::Protocol::https --configure-args "$CONFIG_ARGS"
|
---|
32 |
|
---|
33 |
|
---|
34 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.