summaryrefslogtreecommitdiff
path: root/homebrew/libstxxl
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/libstxxl
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/libstxxl')
-rw-r--r--homebrew/libstxxl/.beer25
-rw-r--r--homebrew/libstxxl/.make.sh-auto6
-rw-r--r--homebrew/libstxxl/_metadata/description1
-rw-r--r--homebrew/libstxxl/_metadata/homepage1
-rw-r--r--homebrew/libstxxl/_metadata/name1
-rw-r--r--homebrew/libstxxl/_metadata/version1
-rwxr-xr-xhomebrew/libstxxl/download.sh1
7 files changed, 36 insertions, 0 deletions
diff --git a/homebrew/libstxxl/.beer b/homebrew/libstxxl/.beer
new file mode 100644
index 000000000..79572c955
--- /dev/null
+++ b/homebrew/libstxxl/.beer
@@ -0,0 +1,25 @@
+{
+ "name": "Libstxxl",
+ "description": "C++ implementation of STL for extra large data sets",
+ "url": "https://downloads.sourceforge.net/project/stxxl/stxxl/1.4.1/stxxl-1.4.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://stxxl.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = std_cmake_args - %w[-DCMAKE_BUILD_TYPE=None]",
+ "args << \"-DCMAKE_BUILD_TYPE=Release\"",
+ "mkdir \"build\" do",
+ "system \"cmake\", \"..\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.4.1",
+ "file": "libstxxl.rb"
+} \ No newline at end of file
diff --git a/homebrew/libstxxl/.make.sh-auto b/homebrew/libstxxl/.make.sh-auto
new file mode 100644
index 000000000..31fab10d7
--- /dev/null
+++ b/homebrew/libstxxl/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+args = std_cmake_args - %w[-DCMAKE_BUILD_TYPE=None]
+args << "-DCMAKE_BUILD_TYPE=Release"
+mkdir "build" && cd build
+cmake .. *args
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libstxxl/_metadata/description b/homebrew/libstxxl/_metadata/description
new file mode 100644
index 000000000..7ce83ee68
--- /dev/null
+++ b/homebrew/libstxxl/_metadata/description
@@ -0,0 +1 @@
+C++ implementation of STL for extra large data sets
diff --git a/homebrew/libstxxl/_metadata/homepage b/homebrew/libstxxl/_metadata/homepage
new file mode 100644
index 000000000..f3ffb5fba
--- /dev/null
+++ b/homebrew/libstxxl/_metadata/homepage
@@ -0,0 +1 @@
+https://stxxl.sourceforge.io/
diff --git a/homebrew/libstxxl/_metadata/name b/homebrew/libstxxl/_metadata/name
new file mode 100644
index 000000000..7ede3ee01
--- /dev/null
+++ b/homebrew/libstxxl/_metadata/name
@@ -0,0 +1 @@
+Libstxxl
diff --git a/homebrew/libstxxl/_metadata/version b/homebrew/libstxxl/_metadata/version
new file mode 100644
index 000000000..347f5833e
--- /dev/null
+++ b/homebrew/libstxxl/_metadata/version
@@ -0,0 +1 @@
+1.4.1
diff --git a/homebrew/libstxxl/download.sh b/homebrew/libstxxl/download.sh
new file mode 100755
index 000000000..e33572271
--- /dev/null
+++ b/homebrew/libstxxl/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/stxxl/stxxl/1.4.1/stxxl-1.4.1.tar.gz \ No newline at end of file