Mercurial > mxe-octave
annotate build_packages.m @ 3738:2609ed5b5d76
sqlite: update to 3.8.7.2
* src/sqlite.mk: update version, checksum
author | John Donoghue |
---|---|
date | Wed, 19 Nov 2014 13:56:02 -0500 |
parents | 1166dbbbe15c |
children | 6dc67bfb5958 |
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 |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
25 try_install struct-1.0.10.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
26 try_install optim-1.4.0.tar.gz |
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 |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
28 try_install control-2.6.6.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
29 try_install signal-1.3.0.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
30 try_install communications-1.2.0.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
31 try_install image-2.2.2.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
32 try_install io-2.2.4.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
33 try_install statistics-1.2.3.tar.gz |
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 |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
37 try_install linear-algebra-2.2.0.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
38 try_install sockets-1.0.8.tar.gz |
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 |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
43 try_install quaternion-2.2.2.tar.gz |
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 |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
48 try_install netcdf-1.0.5.tar.gz |
1166dbbbe15c
build_packages.m: add helper function to install packages
John Donoghue
parents:
3724
diff
changeset
|
49 |