annotate build_packages.m @ 3910:569e31212bb6

of-stk: add to mxe * src/of-stk.mk: new file * dist-files.mk: add of-stk.mk * index.html: add stk * Makefile.in: add stk to forge packages * build_packages.m: add stk
author John Donoghue
date Fri, 17 Apr 2015 08:24:07 -0400
parents d8a7730284ba
children 006263ce4905
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2960
c0061a9c3288 build_packages.m: new file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 more ("off");
c0061a9c3288 build_packages.m: new file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
883b166fa55b of-struct: update to 1.0.11
John D
parents: 3840
diff changeset
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
c09688a35beb of-signal: update to v1.3.1
John Donoghue
parents: 3873
diff changeset
29 try_install signal-1.3.1.tar.gz
3873
58aa10af640e of-communications: update to v1.2.1
John Donoghue
parents: 3867
diff changeset
30 try_install communications-1.2.1.tar.gz
3875
dcb6c1689959 of-image: update to v1.4.0
John Donoghue
parents: 3874
diff changeset
31 try_install image-2.4.0.tar.gz
3840
3061358d7a92 of-io: update to 2.2.7
John D
parents: 3839
diff changeset
32 try_install io-2.2.7.tar.gz
3842
732f437653ae of-statistics: update to 1.2.4
John Donoghue
parents: 3841
diff changeset
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
c615fc4adb7c of-linear-algebra: update to 2.2.2
John Donoghue
parents: 3875
diff changeset
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
1f4c073f6b21 of-netcdf: update to v1.0.6
John D
parents: 3780
diff changeset
48 try_install netcdf-1.0.6.tar.gz
3739
6dc67bfb5958 ltfat: add of-ltfat package
John Donoghue
parents: 3726
diff changeset
49 try_install ltfat-2.0.1.tar.gz
3892
b42e8f913ddc of-database: added of package
John Donoghue
parents: 3876
diff changeset
50 try_install database-2.3.1.tar.gz
3893
dcd4cc57e1fc of-instrument-control: add too mxe-octave
John Donoghue
parents: 3892
diff changeset
51 try_install instrument-control-0.2.1.tar.gz
3894
3fcb38c52a01 og-generate_hmtl: add to mxe-octave
John Donoghue
parents: 3893
diff changeset
52 try_install generate_html-0.1.7.tar.gz
3907
d8a7730284ba of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents: 3894
diff changeset
53 try_install financial-0.4.0.tar.gz
3910
569e31212bb6 of-stk: add to mxe
John Donoghue
parents: 3907
diff changeset
54 try_install stk-2.2.1.tar.gz
3726
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
55