This repository was archived by the owner on Apr 23, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 34 files changed +39
-39
lines changed Expand file tree Collapse file tree 34 files changed +39
-39
lines changed Original file line number Diff line number Diff line change 53
53
54
54
# 1. Download ULib
55
55
cd $IROOT
56
- fw_get -O ULib-${ULIB_VERSION} .tar.gz https://github.com/stefanocasazza/ULib/archive/v${ULIB_VERSION} .tar.gz
56
+ fw_get -o ULib-${ULIB_VERSION} .tar.gz https://github.com/stefanocasazza/ULib/archive/v${ULIB_VERSION} .tar.gz
57
57
fw_untar ULib-${ULIB_VERSION} .tar.gz
58
58
59
59
# 2. Compile application (userver_tcp)
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ RETCODE=$(fw_exists ${IROOT}/cppsp.installed)
5
5
6
6
sudo apt-get install -y postgresql-server-dev-9.3 libpq-dev
7
7
8
- fw_get -O cppsp_0.2.3.tar.xz http://downloads.sourceforge.net/project/cpollcppsp/CPPSP%200.2%20%28testing%29/cppsp_0.2.3.tar.xz
8
+ fw_get -o cppsp_0.2.3.tar.xz http://downloads.sourceforge.net/project/cpollcppsp/CPPSP%200.2%20%28testing%29/cppsp_0.2.3.tar.xz
9
9
fw_untar cppsp_0.2.3.tar.xz
10
10
11
11
# Using cp+rm over mv intentionally, because apparently this download
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ CXX=/usr/bin/g++-4.9 ./install.sh $IROOT
9
9
10
10
# Install microhttpd
11
11
cd $DIR
12
- fw_get http://mirror.ibcp.fr/pub/gnu/libmicrohttpd/libmicrohttpd-0.9.39.tar.gz
12
+ fw_get -O http://mirror.ibcp.fr/pub/gnu/libmicrohttpd/libmicrohttpd-0.9.39.tar.gz
13
13
fw_untar libmicrohttpd-0.9.39.tar.gz
14
14
cd libmicrohttpd-0.9.39
15
15
./configure --prefix=$IROOT
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ COMPILER=${IROOT}/urweb
6
6
RETCODE=$( fw_exists $COMPILER )
7
7
[ ! " $RETCODE " == 0 ] || [ ! ` $COMPILER | grep -oE ' [^ ]+$' ` == " $VERSION " ] || { return 0; }
8
8
9
- fw_get http://www.impredicative.com/ur/urweb-$VERSION .tgz
9
+ fw_get -O http://www.impredicative.com/ur/urweb-$VERSION .tgz
10
10
fw_untar urweb-$VERSION .tgz
11
11
cd urweb-$VERSION
12
12
./configure --prefix=${IROOT} /urweb
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists duda-0.23.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get http://duda.io/releases/duda-client/dudac-0.23.tar.gz -O dudac-0.23.tar.gz
6
+ fw_get http://duda.io/releases/duda-client/dudac-0.23.tar.gz -O
7
7
fw_untar dudac-0.23.tar.gz
8
8
9
9
cd dudac-0.23
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists ${IROOT} /grails-2.4.4.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.4.4.zip -O grails-2.4.4.zip
6
+ fw_get http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.4.4.zip -O
7
7
fw_unzip grails-2.4.4.zip
8
8
9
9
touch ${IROOT} /grails-2.4.4.installed
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists ${IROOT} /play-1.2.5.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get http://downloads.typesafe.com/releases/play-1.2.5.zip -O play-1.2.5.zip
6
+ fw_get http://downloads.typesafe.com/releases/play-1.2.5.zip -O
7
7
fw_unzip play-1.2.5.zip
8
8
9
9
touch ${IROOT} /play-1.2.5.installed
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists play-2.2.0)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get http://downloads.typesafe.com/play/2.2.0/play-2.2.0.zip -O play-2.2.0.zip
6
+ fw_get http://downloads.typesafe.com/play/2.2.0/play-2.2.0.zip -O
7
7
fw_unzip play-2.2.0.zip
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ RETCODE=$(fw_exists ${IROOT}/treefrog.installed)
5
5
6
6
sudo apt-get install -y qt4-qmake libqt4-dev libqt4-sql-mysql libqt4-sql-psql g++
7
7
8
- fw_get http://downloads.sourceforge.net/project/treefrog/src/treefrog-1.7.7.tar.gz -O treefrog-1.7.7.tar.gz
8
+ fw_get http://downloads.sourceforge.net/project/treefrog/src/treefrog-1.7.7.tar.gz -O
9
9
fw_untar treefrog-1.7.7.tar.gz
10
10
cd treefrog-1.7.7
11
11
# Someday we can try this... I couldn't get it working
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ elif [ "$TFB_DISTRIB_CODENAME" == "precise" ]; then
26
26
sudo apt-get -y install libboost1.48-all-dev
27
27
fi
28
28
29
- fw_get http://downloads.sourceforge.net/witty/wt-3.3.3.tar.gz -O wt-3.3.3.tar.gz
29
+ fw_get http://downloads.sourceforge.net/witty/wt-3.3.3.tar.gz -O
30
30
fw_untar wt-3.3.3.tar.gz
31
31
32
32
cd wt-3.3.3
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ URL=https://github.com/manastech/crystal/releases/download/0.7.1/crystal-0.7.1-1
7
7
8
8
# Default filename is too long, causing problems
9
9
# Use -O to specify
10
- fw_get -O $SAVE_AS $URL
10
+ fw_get -o $SAVE_AS $URL
11
11
12
12
fw_untar crystal-0.7.1-1-linux-x86_64.tar.gz
13
13
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists ${IROOT} /dart-sdk.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get http://storage.googleapis.com/dart-archive/channels/stable/release/42828/sdk/dartsdk-linux-x64-release.zip
6
+ fw_get -O http://storage.googleapis.com/dart-archive/channels/stable/release/42828/sdk/dartsdk-linux-x64-release.zip
7
7
fw_unzip dartsdk-linux-x64-release.zip
8
8
9
9
touch ${IROOT} /dart-sdk.installed
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ RETCODE=$(fw_exists ${DLANG}.installed)
7
7
return 0; }
8
8
9
9
mkdir -p $DLANG
10
- fw_get http://downloads.dlang.org/releases/2.x/2.067.1/dmd_2.067.1-0_amd64.deb
10
+ fw_get -O http://downloads.dlang.org/releases/2.x/2.067.1/dmd_2.067.1-0_amd64.deb
11
11
dpkg-deb -x dmd_2.067.1-0_amd64.deb $DLANG
12
12
13
13
# According to this file (dmd.conf) dmd will, upon execution, look for
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ VERSION="1.0.4-1"
10
10
RELEASE=" trusty"
11
11
ARCH=" amd64"
12
12
13
- fw_get http://packages.erlang-solutions.com/site/esl/elixir/FLAVOUR_2_download/elixir_${VERSION} ~ubuntu~${RELEASE} _${ARCH} .deb
13
+ fw_get -O http://packages.erlang-solutions.com/site/esl/elixir/FLAVOUR_2_download/elixir_${VERSION} ~ubuntu~${RELEASE} _${ARCH} .deb
14
14
dpkg -x elixir_${VERSION} ~ubuntu~${RELEASE} _${ARCH} .deb $IROOT /elixir
15
15
$IROOT /erlang/usr/lib/erlang/Install -minimal $IROOT /erlang/usr/lib/erlang
16
16
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ VERSION="17.4-2"
7
7
RELEASE=" trusty"
8
8
ARCH=" amd64"
9
9
10
- fw_get http://packages.erlang-solutions.com/site/esl/esl-erlang/FLAVOUR_1_esl/esl-erlang_${VERSION} ~ubuntu~${RELEASE} _${ARCH} .deb
10
+ fw_get -O http://packages.erlang-solutions.com/site/esl/esl-erlang/FLAVOUR_1_esl/esl-erlang_${VERSION} ~ubuntu~${RELEASE} _${ARCH} .deb
11
11
dpkg -x esl-erlang_${VERSION} ~ubuntu~${RELEASE} _${ARCH} .deb $IROOT /erlang
12
12
$IROOT /erlang/usr/lib/erlang/Install -minimal $IROOT /erlang/usr/lib/erlang
13
13
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists ${IROOT} /go1.4.2.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz
6
+ fw_get -O https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz
7
7
fw_untar go1.4.2.linux-amd64.tar.gz
8
8
9
9
touch ${IROOT} /go1.4.2.installed
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists ${IROOT} /nvm.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get https://raw.githubusercontent.com/creationix/nvm/v0.24.1/install.sh
6
+ fw_get -O https://raw.githubusercontent.com/creationix/nvm/v0.24.1/install.sh
7
7
NVM_DIR=$IROOT /nvm bash install.sh
8
8
9
- touch ${IROOT} /nvm.installed
9
+ touch ${IROOT} /nvm.installed
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists ${IROOT} /perl-5.18.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get https://raw.github.com/tokuhirom/Perl-Build/master/perl-build -O perl-build.pl
6
+ fw_get https://raw.github.com/tokuhirom/Perl-Build/master/perl-build -o perl-build.pl
7
7
# compile with optimizations, n.b. this does not turn on debugging
8
8
perl perl-build.pl -DDEBUGGING=-g 5.18.2 perl-5.18 2>&1 | tee $IROOT /perl-install.log | awk ' { if (NR%100 == 0) printf "."}'
9
9
10
- fw_get http://cpanmin.us -O cpanminus.pl
10
+ fw_get http://cpanmin.us -o cpanminus.pl
11
11
perl-5.18/bin/perl cpanminus.pl --notest --no-man-page App::cpanminus
12
12
# Install only a bare-bones of Perl modules
13
13
# Install others in the per-framework install script or cpanfile
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ RETCODE=$(fw_exists ${IROOT}/php.installed)
13
13
14
14
VERSION=" 5.5.17"
15
15
16
- fw_get http://php.net/distributions/php-${VERSION} .tar.gz -O php-${VERSION} .tar.gz
16
+ fw_get http://php.net/distributions/php-${VERSION} .tar.gz -o php-${VERSION} .tar.gz
17
17
fw_untar php-${VERSION} .tar.gz
18
18
mv php-${VERSION} php
19
19
cd php
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists ${IROOT} /pypy.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get https://bitbucket.org/pypy/pypy/downloads/pypy-2.6.0-linux64.tar.bz2 -O pypy-2.6.0-linux64.tar.bz2
6
+ fw_get https://bitbucket.org/pypy/pypy/downloads/pypy-2.6.0-linux64.tar.bz2 -o pypy-2.6.0-linux64.tar.bz2
7
7
fw_untar pypy-2.6.0-linux64.tar.bz2
8
8
ln -sf pypy-2.6.0-linux64 pypy
9
9
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists ${IROOT} /py2.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get http://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz
6
+ fw_get -O http://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz
7
7
fw_untar Python-2.7.10.tgz
8
8
cd Python-2.7.10
9
9
./configure --prefix=${IROOT} /py2 --disable-shared --quiet
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists ${IROOT} /py3.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get http://www.python.org/ftp/python/3.4.3/Python-3.4.3.tar.xz
6
+ fw_get -O http://www.python.org/ftp/python/3.4.3/Python-3.4.3.tar.xz
7
7
fw_untar Python-3.4.3.tar.xz
8
8
cd Python-3.4.3
9
9
./configure --prefix=${IROOT} /py3 --disable-shared --with-computed-gotos --quiet
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ if [ "$RET" == 0 ]; then
5
5
return 0;
6
6
fi
7
7
8
- fw_get http://mirror.racket-lang.org/installers/recent/racket-src.tgz -O racket-src.tar.gz
8
+ fw_get http://mirror.racket-lang.org/installers/recent/racket-src.tgz -o racket-src.tar.gz
9
9
fw_untar racket-src.tar.gz
10
10
mv racket racket-install
11
11
cd racket-install/src
12
12
./configure --prefix=${IROOT} /racket
13
13
make
14
14
make install
15
15
16
- touch ${IROOT} /racket.installed
16
+ touch ${IROOT} /racket.installed
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists ${IROOT} /ringojs_0.10.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get http://www.ringojs.org/downloads/ringojs_0.10-1_all.deb
6
+ fw_get -O http://www.ringojs.org/downloads/ringojs_0.10-1_all.deb
7
7
sudo apt-get install -y jsvc
8
8
sudo dpkg -i ringojs_0.10-1_all.deb
9
9
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists $IROOT /rust.installed)
4
4
[ ! " $RETCODE " == 0 ] || { . $IROOT /rust.installed; return 0; }
5
5
6
- fw_get https://static.rust-lang.org/dist/rust-1.0.0-x86_64-unknown-linux-gnu.tar.gz
6
+ fw_get -O https://static.rust-lang.org/dist/rust-1.0.0-x86_64-unknown-linux-gnu.tar.gz
7
7
fw_untar rust-1.0.0-x86_64-unknown-linux-gnu.tar.gz
8
8
(
9
9
cd rust-1.0.0-x86_64-unknown-linux-gnu
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ PHP_HOME=${PHP_HOME:-${IROOT}/php-5.5.17}
10
10
mkdir -p php-composer
11
11
cd php-composer
12
12
13
- fw_get https://getcomposer.org/installer -O composer-installer.php
13
+ fw_get https://getcomposer.org/installer -o composer-installer.php
14
14
15
15
# Use the PHP and composer from our PHP_HOME directory and
16
16
# COMPOSER_HOME directories
17
17
${PHP_HOME} /bin/php composer-installer.php --install-dir=${COMPOSER_HOME}
18
18
19
19
cd ..
20
- touch ${IROOT} /php-composer.installed
20
+ touch ${IROOT} /php-composer.installed
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RETCODE=$(fw_exists ${DUB}.installed)
8
8
9
9
mkdir dub
10
10
cd dub
11
- fw_get http://code.dlang.org/files/dub-0.9.23-linux-x86_64.tar.gz
11
+ fw_get -O http://code.dlang.org/files/dub-0.9.23-linux-x86_64.tar.gz
12
12
fw_untar dub-0.9.23-linux-x86_64.tar.gz
13
13
14
14
echo -e " export PATH=${DUB} :\$ PATH" > $DUB .installed
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ RETCODE=$(fw_exists ${IROOT}/lein.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
6
mkdir -p lein/bin
7
- fw_get https://raw.github.com/technomancy/leiningen/stable/bin/lein -O leinbin
7
+ fw_get https://raw.github.com/technomancy/leiningen/stable/bin/lein -o leinbin
8
8
mv leinbin lein/bin/lein
9
9
chmod +x lein/bin/lein
10
10
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ RETCODE=$(fw_exists ${IROOT}/sbt.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
6
sbt_ver=0.13.8
7
- fw_get http://dl.bintray.com/sbt/native-packages/sbt/$sbt_ver /sbt-$sbt_ver .zip -O sbt- $sbt_ver .zip
7
+ fw_get http://dl.bintray.com/sbt/native-packages/sbt/$sbt_ver /sbt-$sbt_ver .zip -O
8
8
fw_unzip sbt-$sbt_ver .zip
9
9
10
10
touch ${IROOT} /sbt.installed
Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ sudo apt-get install -y sqlite3 libsqlite3-dev uuid uuid-runtime uuid-dev
11
11
# Update linker cache
12
12
sudo ldconfig -v
13
13
14
- fw_get https://github.com/zedshaw/mongrel2/tarball/v1.8.1 -O mongrel2.tar.gz
14
+ fw_get https://github.com/zedshaw/mongrel2/tarball/v1.8.1 -o mongrel2.tar.gz
15
15
fw_untar mongrel2.tar.gz
16
16
17
17
# mongrel2 untars into this folder
18
18
mv zedshaw-mongrel2-aa2ecf8 mongrel2-install
19
19
20
20
# for zmq4, we update the following file manually (not in v1.8.1)
21
- fw_get https://raw.github.com/zedshaw/mongrel2/9b565eeea003783c47502c2d350b99c9684ce97c/src/zmq_compat.h
21
+ fw_get -O https://raw.github.com/zedshaw/mongrel2/9b565eeea003783c47502c2d350b99c9684ce97c/src/zmq_compat.h
22
22
mv -f zmq_compat.h mongrel2-install/src/
23
23
24
24
cd mongrel2-install
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists ${IROOT} /nginx.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get http://nginx.org/download/nginx-1.4.1.tar.gz
6
+ fw_get -O http://nginx.org/download/nginx-1.4.1.tar.gz
7
7
fw_untar nginx-1.4.1.tar.gz
8
8
cd nginx-1.4.1
9
9
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ RETCODE=$(fw_exists ${IROOT}/openresty-1.7.10.1.installed)
5
5
6
6
fw_depends nginx lua
7
7
8
- fw_get http://openresty.org/download/ngx_openresty-1.7.10.1.tar.gz
8
+ fw_get -O http://openresty.org/download/ngx_openresty-1.7.10.1.tar.gz
9
9
fw_untar ngx_openresty-1.7.10.1.tar.gz
10
10
11
11
cd ngx_openresty-1.7.10.1
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RETCODE=$(fw_exists ${IROOT}/resin-$RVER.installed)
8
8
fw_depends java7
9
9
sudo cp -r $JAVA_HOME /include $JAVA_HOME /jre/bin/
10
10
11
- fw_get http://www.caucho.com/download/resin-$RVER .tar.gz
11
+ fw_get -O http://www.caucho.com/download/resin-$RVER .tar.gz
12
12
fw_untar resin-$RVER .tar.gz
13
13
cd resin-$RVER
14
14
./configure --prefix=` pwd`
Original file line number Diff line number Diff line change 3
3
RETCODE=$( fw_exists ${IROOT} /zeromq-4.0.3.installed)
4
4
[ ! " $RETCODE " == 0 ] || { return 0; }
5
5
6
- fw_get http://download.zeromq.org/zeromq-4.0.3.tar.gz
6
+ fw_get -O http://download.zeromq.org/zeromq-4.0.3.tar.gz
7
7
fw_untar zeromq-4.0.3.tar.gz
8
8
mv zeromq-4.0.3 zeromq-4.0.3-install
9
9
cd zeromq-4.0.3-install
You can’t perform that action at this time.
0 commit comments