diff options
Diffstat (limited to 'homebrew/cspice')
-rw-r--r-- | homebrew/cspice/.beer | 40 | ||||
-rw-r--r-- | homebrew/cspice/.make.sh-auto | 9 | ||||
-rw-r--r-- | homebrew/cspice/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/cspice/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/cspice/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/cspice/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/cspice/download.sh | 1 |
7 files changed, 54 insertions, 0 deletions
diff --git a/homebrew/cspice/.beer b/homebrew/cspice/.beer new file mode 100644 index 000000000..21ba366c8 --- /dev/null +++ b/homebrew/cspice/.beer @@ -0,0 +1,40 @@ +{ + "name": "Cspice", + "description": "Observation geometry system for robotic space science missions", + "url": "https://naif.jpl.nasa.gov/pub/naif/toolkit/C/MacIntel_OSX_AppleC_64bit/packages/cspice.tar.Z", + "mirror": "https://dl.bintray.com/homebrew/mirror/cspice-66.tar.Z", + "homepage": "https://naif.jpl.nasa.gov/naif/toolkit.html", + "depends": [], + "resource": [], + "conflicts": [ + { + "conflict": "openhmd", + "reason": "both install `simple` binaries" + }, + { + "conflict": "libftdi0", + "reason": "both install `simple` binaries" + }, + { + "conflict": "enscript", + "reason": "both install `states` binaries" + }, + { + "conflict": "fondu", + "reason": "both install `tobin` binaries" + } + ], + "patches": [], + "install": [ + "rm_f Dir[\"lib/*\"]", + "rm_f Dir[\"exe/*\"]", + "system \"csh\", \"makeall.csh\"", + "mv \"exe\", \"bin\"", + "pkgshare.install \"doc\", \"data\"", + "prefix.install \"bin\", \"include\", \"lib\"", + "lib.install_symlink \"cspice.a\" => \"libcspice.a\"", + "lib.install_symlink \"csupport.a\" => \"libcsupport.a\"" + ], + "version": "1.0-unknown", + "file": "cspice.rb" +}
\ No newline at end of file diff --git a/homebrew/cspice/.make.sh-auto b/homebrew/cspice/.make.sh-auto new file mode 100644 index 000000000..84716aaf1 --- /dev/null +++ b/homebrew/cspice/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +rm_f Dir["lib/*"] +rm_f Dir["exe/*"] +csh makeall.csh +mv "exe", "bin" +pkgshare.install "doc", "data" +prefix.install "bin", "include", "lib" +lib.install_symlink "cspice.a" => "libcspice.a" +lib.install_symlink "csupport.a" => "libcsupport.a" diff --git a/homebrew/cspice/_metadata/description b/homebrew/cspice/_metadata/description new file mode 100644 index 000000000..06f4cfa05 --- /dev/null +++ b/homebrew/cspice/_metadata/description @@ -0,0 +1 @@ +Observation geometry system for robotic space science missions diff --git a/homebrew/cspice/_metadata/homepage b/homebrew/cspice/_metadata/homepage new file mode 100644 index 000000000..1c2ecffbd --- /dev/null +++ b/homebrew/cspice/_metadata/homepage @@ -0,0 +1 @@ +https://naif.jpl.nasa.gov/naif/toolkit.html diff --git a/homebrew/cspice/_metadata/name b/homebrew/cspice/_metadata/name new file mode 100644 index 000000000..bbaf60aef --- /dev/null +++ b/homebrew/cspice/_metadata/name @@ -0,0 +1 @@ +Cspice diff --git a/homebrew/cspice/_metadata/version b/homebrew/cspice/_metadata/version new file mode 100644 index 000000000..88fd7f442 --- /dev/null +++ b/homebrew/cspice/_metadata/version @@ -0,0 +1 @@ +1.0-unknown diff --git a/homebrew/cspice/download.sh b/homebrew/cspice/download.sh new file mode 100755 index 000000000..a1fb431fa --- /dev/null +++ b/homebrew/cspice/download.sh @@ -0,0 +1 @@ +wget https://naif.jpl.nasa.gov/pub/naif/toolkit/C/MacIntel_OSX_AppleC_64bit/packages/cspice.tar.Z || wget https://dl.bintray.com/homebrew/mirror/cspice-66.tar.Z
\ No newline at end of file |