summaryrefslogtreecommitdiff
path: root/homebrew/teem
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/teem
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/teem')
-rw-r--r--homebrew/teem/.beer30
-rw-r--r--homebrew/teem/.make.sh-auto5
-rw-r--r--homebrew/teem/_metadata/description1
-rw-r--r--homebrew/teem/_metadata/homepage1
-rw-r--r--homebrew/teem/_metadata/name1
-rw-r--r--homebrew/teem/_metadata/version1
-rwxr-xr-xhomebrew/teem/download.sh1
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