diff options
Diffstat (limited to 'homebrew/teem')
-rw-r--r-- | homebrew/teem/.beer | 30 | ||||
-rw-r--r-- | homebrew/teem/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/teem/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/teem/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/teem/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/teem/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/teem/download.sh | 1 |
7 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/teem/.beer b/homebrew/teem/.beer new file mode 100644 index 000000000..e0731096f --- /dev/null +++ b/homebrew/teem/.beer @@ -0,0 +1,30 @@ +{ + "name": "Teem", + "description": "Libraries for scientific raster data", + "url": "https://downloads.sourceforge.net/project/teem/teem/1.11.0/teem-1.11.0-src.tar.gz", + "mirror": null, + "homepage": "https://teem.sourceforge.io/", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "libpng", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "system \"cmake\", *std_cmake_args,", + "\"-DBUILD_SHARED_LIBS:BOOL=ON\",", + "\"-DTeem_USE_LIB_INSTALL_SUBDIR:BOOL=ON\"", + "system \"make\", \"install\"", + "lib.install_symlink Dir.glob(lib/\"Teem-#{version}/*.dylib\")", + "(lib/\"cmake/teem\").install_symlink Dir.glob(lib/\"Teem-#{version}/*.cmake\")" + ], + "version": "1.11.0", + "file": "teem.rb" +}
\ No newline at end of file diff --git a/homebrew/teem/.make.sh-auto b/homebrew/teem/.make.sh-auto new file mode 100644 index 000000000..d1bf6002b --- /dev/null +++ b/homebrew/teem/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +cmake -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DBUILD_SHARED_LIBS:BOOL=ON -DTeem_USE_LIB_INSTALL_SUBDIR:BOOL=ON +make DESTDIR=${PKG_DEST} install +lib.install_symlink Dir.glob(lib/"Teem-#{version}/*.dylib") +(lib/"cmake/teem").install_symlink Dir.glob(lib/"Teem-#{version}/*.cmake") diff --git a/homebrew/teem/_metadata/description b/homebrew/teem/_metadata/description new file mode 100644 index 000000000..d25383178 --- /dev/null +++ b/homebrew/teem/_metadata/description @@ -0,0 +1 @@ +Libraries for scientific raster data diff --git a/homebrew/teem/_metadata/homepage b/homebrew/teem/_metadata/homepage new file mode 100644 index 000000000..6b0b54cd6 --- /dev/null +++ b/homebrew/teem/_metadata/homepage @@ -0,0 +1 @@ +https://teem.sourceforge.io/ diff --git a/homebrew/teem/_metadata/name b/homebrew/teem/_metadata/name new file mode 100644 index 000000000..484e46872 --- /dev/null +++ b/homebrew/teem/_metadata/name @@ -0,0 +1 @@ +Teem diff --git a/homebrew/teem/_metadata/version b/homebrew/teem/_metadata/version new file mode 100644 index 000000000..1cac385c6 --- /dev/null +++ b/homebrew/teem/_metadata/version @@ -0,0 +1 @@ +1.11.0 diff --git a/homebrew/teem/download.sh b/homebrew/teem/download.sh new file mode 100755 index 000000000..4ae07b023 --- /dev/null +++ b/homebrew/teem/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/project/teem/teem/1.11.0/teem-1.11.0-src.tar.gz
\ No newline at end of file |