Mercurial > mxe-octave
annotate build_packages.m @ 3960:bd51e2f81020
mingw: add perl msys module for devel tools
* index.html: add msys-perl, msys-libcrypt
* src/msys-perl.mk: new file
* src/src-msys-perl.mk: new file
* src/msys-libcrypt.mk: new file
* src/src-msys-libcrypt.mk: new file
* Makefile.in: add msys-perl, msys-libcrypt to installer in cross mingw
* dist-files.mk: add libcrypy and perl files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Mon, 08 Jun 2015 19:21:00 -0400 |
parents | 30391f9f46e8 |
children | 76247f439f51 |
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 |
3953
30391f9f46e8
Update build_packages.m for latest signal, general
John Donoghue <john.donoghue@ieee.org>
parents:
3948
diff
changeset
|
23 try_install general-2.0.0.tar.gz |
3726
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 |
3927
3850b0c0c80d
of-control: update to v2.8.1
John Donoghue <john.donoghue@ieee.org>
parents:
3925
diff
changeset
|
28 try_install control-2.8.1.tar.gz |
3953
30391f9f46e8
Update build_packages.m for latest signal, general
John Donoghue <john.donoghue@ieee.org>
parents:
3948
diff
changeset
|
29 try_install signal-1.3.2.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 |
3925
7ee26841a98b
of-geometry: update to v2.0.0
John Donoghue <john.donoghue@ieee.org>
parents:
3924
diff
changeset
|
34 try_install geometry-2.0.0.tar.gz |
3726
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 |
3948 | 36 try_install odepkg-0.8.5.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 data-smoothing-1.3.0.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
41 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
|
42 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
|
43 try_install fits-1.0.5.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
44 try_install fl-core-1.0.0.tar.gz |
3941
1368ac3ea124
of-tsa: update to v4.2.9
John Donoghue <john.donoghue@ieee.org>
parents:
3940
diff
changeset
|
45 try_install tsa-4.2.9.tar.gz |
3726
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
46 try_install dicom-0.1.1.tar.gz |
3839 | 47 try_install netcdf-1.0.6.tar.gz |
3940
4255bbc26c5e
of-ltfat: update to v2.1.0
John Donoghue <john.donoghue@ieee.org>
parents:
3938
diff
changeset
|
48 try_install ltfat-2.1.0.tar.gz |
3932
7ac7c3015612
of-database: update to v2.3.2
John Donoghue <john.donoghue@ieee.org>
parents:
3927
diff
changeset
|
49 try_install database-2.3.2.tar.gz |
3893 | 50 try_install instrument-control-0.2.1.tar.gz |
3924
1108e36ccc54
of-generate_html: update to v0.1.8
John Donoghue <john.donoghue@ieee.org>
parents:
3921
diff
changeset
|
51 try_install generate_html-0.1.8.tar.gz |
3907
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
3894
diff
changeset
|
52 try_install financial-0.4.0.tar.gz |
3943 | 53 try_install stk-2.3.0.tar.gz |
3935 | 54 try_install splines-1.2.8.tar.gz |
3912
52abc9be09fa
of-dataframe: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
3911
diff
changeset
|
55 try_install dataframe-1.1.0.tar.gz |
3916
af43c4d3d12f
of-lssa: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
3912
diff
changeset
|
56 try_install lssa-0.1.2.tar.gz |
3917
d18874830004
of-queueing: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
3916
diff
changeset
|
57 try_install queueing-1.2.3.tar.gz |
3918
b52d090d04d3
update build_packages.m for missing of-xxx
John Donoghue <john.donoghue@ieee.org>
parents:
3917
diff
changeset
|
58 try_install nurbs-1.3.9.tar.gz |
b52d090d04d3
update build_packages.m for missing of-xxx
John Donoghue <john.donoghue@ieee.org>
parents:
3917
diff
changeset
|
59 try_install octcdf-1.1.8.tar.gz |
b52d090d04d3
update build_packages.m for missing of-xxx
John Donoghue <john.donoghue@ieee.org>
parents:
3917
diff
changeset
|
60 try_install strings-1.1.0.tar.gz |
3919 | 61 try_install ga-0.10.0.tar.gz |
3726
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
62 |