diff options
Diffstat (limited to 'homebrew/geographiclib')
-rw-r--r-- | homebrew/geographiclib/.beer | 23 | ||||
-rw-r--r-- | homebrew/geographiclib/.make.sh-auto | 4 | ||||
-rw-r--r-- | homebrew/geographiclib/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/geographiclib/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/geographiclib/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/geographiclib/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/geographiclib/download.sh | 1 |
7 files changed, 32 insertions, 0 deletions
diff --git a/homebrew/geographiclib/.beer b/homebrew/geographiclib/.beer new file mode 100644 index 000000000..bef4e8680 --- /dev/null +++ b/homebrew/geographiclib/.beer @@ -0,0 +1,23 @@ +{ + "name": "Geographiclib", + "description": "C++ geography library", + "url": "https://downloads.sourceforge.net/project/geographiclib/distrib/GeographicLib-1.49.tar.gz", + "mirror": null, + "homepage": "https://geographiclib.sourceforge.io/", + "depends": [ + { + "depend": "cmake", + "build-depend": true + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "mkdir \"build\" do", + "system \"cmake\", \"..\", \"-DCMAKE_OSX_SYSROOT=#{MacOS.sdk_path}\", *std_cmake_args", + "system \"make\", \"install\"" + ], + "version": "1.49", + "file": "geographiclib.rb" +}
\ No newline at end of file diff --git a/homebrew/geographiclib/.make.sh-auto b/homebrew/geographiclib/.make.sh-auto new file mode 100644 index 000000000..526a0ea81 --- /dev/null +++ b/homebrew/geographiclib/.make.sh-auto @@ -0,0 +1,4 @@ +pkg:setup +mkdir "build" && cd build +cmake .. -DCMAKE_OSX_SYSROOT=#{MacOS.sdk_path} -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/geographiclib/_metadata/description b/homebrew/geographiclib/_metadata/description new file mode 100644 index 000000000..7d84254cd --- /dev/null +++ b/homebrew/geographiclib/_metadata/description @@ -0,0 +1 @@ +C++ geography library diff --git a/homebrew/geographiclib/_metadata/homepage b/homebrew/geographiclib/_metadata/homepage new file mode 100644 index 000000000..6ff4b51b5 --- /dev/null +++ b/homebrew/geographiclib/_metadata/homepage @@ -0,0 +1 @@ +https://geographiclib.sourceforge.io/ diff --git a/homebrew/geographiclib/_metadata/name b/homebrew/geographiclib/_metadata/name new file mode 100644 index 000000000..21d1027e4 --- /dev/null +++ b/homebrew/geographiclib/_metadata/name @@ -0,0 +1 @@ +Geographiclib diff --git a/homebrew/geographiclib/_metadata/version b/homebrew/geographiclib/_metadata/version new file mode 100644 index 000000000..d4d0f85c9 --- /dev/null +++ b/homebrew/geographiclib/_metadata/version @@ -0,0 +1 @@ +1.49 diff --git a/homebrew/geographiclib/download.sh b/homebrew/geographiclib/download.sh new file mode 100755 index 000000000..f6d45247e --- /dev/null +++ b/homebrew/geographiclib/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/project/geographiclib/distrib/GeographicLib-1.49.tar.gz
\ No newline at end of file |