Mercurial > mxe-octave
annotate build_packages.m @ 3905:f1fa61828986
of-windows: enable cross compile
* src/of-windows-1-fixes.patch: new file
* src/of-windows.mk: enable compile
* dist-files.mk: add of-windows-1-fixes.patch
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 14 Apr 2015 22:51:09 -0400 |
parents | 3fcb38c52a01 |
children | d8a7730284ba |
rev | line source |
---|---|
2960 | 1 more ("off"); |
2 echo ("on"); | |
3459
bc0e6c5189cd
build_packages.m: cd to src folder to install src packages
John Donoghue <john.donoghue@ieee.org>
parents:
3424
diff
changeset
|
3 % cd to script directory as the packages files are in the same place |
bc0e6c5189cd
build_packages.m: cd to src folder to install src packages
John Donoghue <john.donoghue@ieee.org>
parents:
3424
diff
changeset
|
4 [packagedir] = fileparts(mfilename("fullpathext")); |
bc0e6c5189cd
build_packages.m: cd to src folder to install src packages
John Donoghue <john.donoghue@ieee.org>
parents:
3424
diff
changeset
|
5 if length(packagedir) > 0 |
bc0e6c5189cd
build_packages.m: cd to src folder to install src packages
John Donoghue <john.donoghue@ieee.org>
parents:
3424
diff
changeset
|
6 cd(packagedir); |
bc0e6c5189cd
build_packages.m: cd to src folder to install src packages
John Donoghue <john.donoghue@ieee.org>
parents:
3424
diff
changeset
|
7 endif |
3726
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
8 |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
9 % helper function to try install a package, and recover |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
10 function try_install (pkgname) |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
11 currdir = pwd (); |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
12 |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
13 try |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
14 pkg ('install', pkgname, '-noauto') |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
15 catch err |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
16 warning (err.identifier, err.message); |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
17 end_try_catch |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
18 |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
19 cd (currdir); |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
20 endfunction |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
21 |
3459
bc0e6c5189cd
build_packages.m: cd to src folder to install src packages
John Donoghue <john.donoghue@ieee.org>
parents:
3424
diff
changeset
|
22 % install the packages |
3726
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
23 try_install general-1.3.4.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
24 try_install miscellaneous-1.2.1.tar.gz |
3841 | 25 try_install struct-1.0.11.tar.gz |
3845
b4ef7ebff8b5
of-optim: update to v1.4.1
John Donoghue <john.donoghue@ieee.org>
parents:
3842
diff
changeset
|
26 try_install optim-1.4.1.tar.gz |
3726
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
27 try_install specfun-1.1.0.tar.gz |
3866
d368a2fb7cf0
of-control: update to 2.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3845
diff
changeset
|
28 try_install control-2.8.0.tar.gz |
3874 | 29 try_install signal-1.3.1.tar.gz |
3873 | 30 try_install communications-1.2.1.tar.gz |
3875 | 31 try_install image-2.4.0.tar.gz |
3840 | 32 try_install io-2.2.7.tar.gz |
3842 | 33 try_install statistics-1.2.4.tar.gz |
3726
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
34 try_install geometry-1.7.0.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
35 try_install windows-1.2.1.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
36 try_install odepkg-0.8.4.tar.gz |
3876 | 37 try_install linear-algebra-2.2.2.tar.gz |
3780
d638b6502197
of-sockets: update to 1.2.0
John Donoghue <john.donoghue@ieee.org>
parents:
3772
diff
changeset
|
38 try_install sockets-1.2.0.tar.gz |
3726
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
39 try_install zenity-0.5.7.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
40 try_install actuarial-1.1.0.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
41 try_install data-smoothing-1.3.0.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
42 try_install fuzzy-logic-toolkit-0.4.5.tar.gz |
3867
5259bf0c2727
of-quaternion: update to 2.4.0
John Donoghue <john.donoghue@ieee.org>
parents:
3866
diff
changeset
|
43 try_install quaternion-2.4.0.tar.gz |
3726
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
44 try_install fits-1.0.5.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
45 try_install fl-core-1.0.0.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
46 try_install tsa-4.2.7.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
47 try_install dicom-0.1.1.tar.gz |
3839 | 48 try_install netcdf-1.0.6.tar.gz |
3739 | 49 try_install ltfat-2.0.1.tar.gz |
3892 | 50 try_install database-2.3.1.tar.gz |
3893 | 51 try_install instrument-control-0.2.1.tar.gz |
3894 | 52 try_install generate_html-0.1.7.tar.gz |
3726
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
53 |