1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name cspice |
---|
6 | version N0058 |
---|
7 | categories science |
---|
8 | description C Implementation of NAIF SPICE Library |
---|
9 | maintainers sal@email.arc.nasa.gov |
---|
10 | long_description The Navigation and Ancillary Information Facility (NAIF), \ |
---|
11 | acting under the directions of NASA's Science Directorate, has \ |
---|
12 | built an information system named "SPICE" to assist scientists in \ |
---|
13 | planning and interpreting scientific observations from space-borne \ |
---|
14 | instruments, and to assist engineers involved in modeling, \ |
---|
15 | planning and executing activities needed to conduct space \ |
---|
16 | exploration missions. The use of SPICE extends through the \ |
---|
17 | post-mission data analysis phase, including help with correlation \ |
---|
18 | of individual instrument data sets with those from other \ |
---|
19 | instruments on the same or on other spacecraft. |
---|
20 | homepage http://naif.jpl.nasa.gov/naif/index.html |
---|
21 | master_sites http://www.opendarwin.org/~mww/files/ |
---|
22 | #ftp://naif.jpl.nasa.gov/pub/naif/toolkit//C/Mac_OSX_Apple_C/packages/ |
---|
23 | checksums md5 7241bd8de0b79e74dfb2f2d05937b2b2 |
---|
24 | worksrcdir ${name} |
---|
25 | use_configure no |
---|
26 | build.cmd ./makeall.csh |
---|
27 | destroot { |
---|
28 | xinstall -m 755 -d ${destroot}${prefix}/share/cspice |
---|
29 | xinstall -m 755 -W ${worksrcpath}/data \ |
---|
30 | cook_01.tc cook_01.tls cook_01.tpc cook_01.tsc \ |
---|
31 | cook_01.tsp cook_01.tc cook_01.tsp \ |
---|
32 | ${destroot}${prefix}/share/cspice |
---|
33 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}-${version} |
---|
34 | file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/cspice |
---|
35 | xinstall -m 755 -W ${worksrcpath}/exe \ |
---|
36 | brief chronos ckbrief commnt inspekt mkspk simple \ |
---|
37 | spacit spkmerge states subpt tictoc tobin toxfr version \ |
---|
38 | ${destroot}${prefix}/bin |
---|
39 | xinstall -m 755 -d ${destroot}${prefix}/include/${name} |
---|
40 | xinstall -m 644 -W ${worksrcpath}/include \ |
---|
41 | SpiceCK.h SpiceCel.h SpiceEK.h SpiceEll.h SpicePln.h \ |
---|
42 | SpiceSPK.h SpiceUsr.h SpiceZdf.h SpiceZfc.h SpiceZim.h \ |
---|
43 | SpiceZmc.h SpiceZpl.h SpiceZpr.h SpiceZst.h f2c.h f2cMang.h \ |
---|
44 | fio.h fmt.h fp.h lio.h rawio.h signal1.h \ |
---|
45 | ${destroot}${prefix}/include/${name} |
---|
46 | system "ranlib ${worksrcpath}/lib/cspice.a" |
---|
47 | system "ranlib ${worksrcpath}/lib/csupport.a" |
---|
48 | xinstall -m 644 -W ${worksrcpath}/lib \ |
---|
49 | cspice.a csupport.a \ |
---|
50 | ${destroot}${prefix}/lib |
---|
51 | } |
---|