first import of Eiffel env layout
This commit is contained in:
1
eiffel/etc/default.rc
Symbolic link
1
eiffel/etc/default.rc
Symbolic link
@@ -0,0 +1 @@
|
||||
eiffel_15_01.rc
|
||||
7
eiffel/etc/eiffel_15_01.rc
Normal file
7
eiffel/etc/eiffel_15_01.rc
Normal file
@@ -0,0 +1,7 @@
|
||||
. ~/dev/eiffel/etc/env.rc
|
||||
|
||||
export ISE_EIFFEL=~/dev/eiffel/15.05
|
||||
export ISE_LIBRARY=$ISE_EIFFEL
|
||||
export PATH=$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin:$PATH
|
||||
export PATH=$ISE_EIFFEL/tools/spec/$ISE_PLATFORM/bin:$PATH
|
||||
export PATH=$ISE_EIFFEL/library/gobo/spec/$ISE_PLATFORM/bin:$PATH
|
||||
1
eiffel/etc/env.rc
Normal file
1
eiffel/etc/env.rc
Normal file
@@ -0,0 +1 @@
|
||||
export ISE_PLATFORM=linux-armv6
|
||||
3
eiffel/etc/mysql.rc
Normal file
3
eiffel/etc/mysql.rc
Normal file
@@ -0,0 +1,3 @@
|
||||
export MYSQLINC=/usr/include/mysql
|
||||
#export MYSQLLIB=/usr/lib/mysql
|
||||
export MYSQLLIB=/usr/lib/i386-linux-gnu
|
||||
1
eiffel/ftp/README.md
Normal file
1
eiffel/ftp/README.md
Normal file
@@ -0,0 +1 @@
|
||||
Folder containing Eiffel setup, the contents can be removed.
|
||||
53
eiffel/install_ec_version.sh
Executable file
53
eiffel/install_ec_version.sh
Executable file
@@ -0,0 +1,53 @@
|
||||
#!/bin/bash
|
||||
|
||||
# usage example:
|
||||
# prog 15.01 96535
|
||||
|
||||
. ~/dev/eiffel/etc/env.rc
|
||||
|
||||
t_platform=$ISE_PLATFORM
|
||||
t_dir=`pwd`
|
||||
|
||||
t_version=$1
|
||||
t_revision=$2
|
||||
|
||||
t_file=Eiffel_${t_version}_gpl_${t_revision}-${t_platform}.tar.bz2
|
||||
t_url=ftp://ftp.eiffel.com/pub/beta/${t_version}/${t_file}
|
||||
#t_url=ftp://ftp.eiffel.com/pub/beta/nightly/${t_file}
|
||||
|
||||
echo Download $t_url
|
||||
if [ -f $t_dir/ftp/$t_file ];
|
||||
then
|
||||
echo "File $t_file already downloaded"
|
||||
else
|
||||
cd $t_dir/ftp
|
||||
wget $t_url
|
||||
cd $t_dir
|
||||
fi
|
||||
|
||||
if [ -f $t_dir/ftp/$t_file ];
|
||||
then
|
||||
t_spec_dir=spec/$t_platform/$t_version.$t_revision
|
||||
echo "Extract $t_file into $t_spec_dir"
|
||||
mkdir -p $t_dir/$t_spec_dir
|
||||
cd $t_dir/$t_spec_dir
|
||||
|
||||
if [ -d Eiffel_$t_version ];
|
||||
then
|
||||
echo "$t_version ($t_revision) already installed"
|
||||
else
|
||||
tar xjvf $t_dir/ftp/$t_file
|
||||
fi
|
||||
|
||||
cd $t_dir
|
||||
if [ -d $t_dir/$t_spec_dir/Eiffel_$t_version ];
|
||||
then
|
||||
echo "Install $t_version ($t_revision) into `pwd`"
|
||||
ln -s -f $t_spec_dir/Eiffel_${t_version} $t_version
|
||||
else
|
||||
echo "Extract failed.."
|
||||
fi
|
||||
else
|
||||
echo "Download failed"
|
||||
fi
|
||||
|
||||
9
eiffel/setup_debian_env.sh
Executable file
9
eiffel/setup_debian_env.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo apt-get install gcc make g++
|
||||
sudo apt-get install libmysqlclient-dev
|
||||
sudo apt-get install libgtk2.0-dev libxtst-dev
|
||||
sudo apt-get install libfcgi-dev
|
||||
sudo apt-get install libcurl-dev
|
||||
sudo apt-get install libapache2-mod-fcgid
|
||||
|
||||
1
eiffel/spec/README.md
Normal file
1
eiffel/spec/README.md
Normal file
@@ -0,0 +1 @@
|
||||
Folder containing various Eiffel installations
|
||||
Reference in New Issue
Block a user